• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    Highlighted
    New

    Business Plus Website Builder...Code works in viewer but not when published

    I have two forms (cognito forms) on my website built with Business Plus Website Builder.  The forms quit working a day or two ago.  The forms use code from a company I use to process credit cards.  Everything works correctly when I preview the website, but when the site is published it is not working.  Any help would be appreciated.

    2 ACCEPTED SOLUTIONS

    Accepted Solutions
    Highlighted
    Super User II Super User II
    Super User II
    Solution

    Re: Business Plus Website Builder...Code works in viewer but not when published

    Try adding a target to the HTML form code, "_blank" for new window or "_top" for same window.

     

    <form target="_blank" .....

    View solution in original post

    Highlighted
    New
    Solution

    Re: Business Plus Website Builder...Code works in viewer but not when published

    Thanks for the suggestion.  In another forum they suggested use Iframe code instead of seamless.  Using the Iframe code solved the problem.

    View solution in original post

    3 REPLIES 3
    Highlighted
    Super User II Super User II
    Super User II
    Solution

    Re: Business Plus Website Builder...Code works in viewer but not when published

    Try adding a target to the HTML form code, "_blank" for new window or "_top" for same window.

     

    <form target="_blank" .....

    View solution in original post

    Highlighted
    New
    Solution

    Re: Business Plus Website Builder...Code works in viewer but not when published

    Thanks for the suggestion.  In another forum they suggested use Iframe code instead of seamless.  Using the Iframe code solved the problem.

    View solution in original post

    Highlighted
    Super User II Super User II
    Super User II

    Re: Business Plus Website Builder...Code works in viewer but not when published

    Sounds good!  The iframe code would already have the target set on their end.