Hi Everyone,
Is there any easy way to make the submission response when a Form Builder form has been submitted to pop up instead of being inline or on a new page?
I have a sign up form at the bottom of the page, and when someone hits submit, they won't see the response inline unless they scroll all the way back down to where the form was.
Thanks!
SOLVED Pop Up Submission for Form Builder
SOLVED Pop Up Submission for Form Builder
Last edited by CMSmonkey on Fri Dec 20, 2013 6:34 am, edited 1 time in total.
Re: Pop Up Submission for Form Builder
Nevermind - just threw in the javascript and got the pop up to work.
Re: SOLVED Pop Up Submission for Form Builder
Cool
How did you fix it? If you post it here you can help others...
Thanks, Rolf
How did you fix it? If you post it here you can help others...
Thanks, Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SOLVED Pop Up Submission for Form Builder
Sure, I'd be delighted.
1. I created a new page called 'thanks' with the following content
2. I set the page to a blank template (no CSS). In my template I put in the <head>:
3. In Formbuilder under the Form Submission tab I chose "redirect to a site page" and chose "none".
4. Under the same tab, I put in the Form Submission Javascript text area:
Hope this helps.
1. I created a new page called 'thanks' with the following content
Code: Select all
Thanks for signing up!<br /><br />
<form><input type="button" value="Close Window"
onclick="window.close()"></form>
2. I set the page to a blank template (no CSS). In my template I put in the <head>:
Code: Select all
<__script__ type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=300,width=400,scrollbars=no');
if (window.focus) {newwindow.focus()}
return false;
}
// -->
</__script>
4. Under the same tab, I put in the Form Submission Javascript text area:
Code: Select all
onclick="return popitup('thanks')"


