Hi,
We open an article containing a chronoforms5 form in a popup, and when you hit "send" the popup closes without seeing the post send message and the url becomes http://ourdomain.com/index.php?chronoform=get-in-touch&event=submit.
How should we set up so that the popup remains open and so we get to see the display message?
I've tried searching for instructions I can see that using Ajax based submit might be the way to go but I can't seem to find anything like that in the admin interface.
I'd be very grateful for suggestions on how best to proceed
Thanks in advance.
Further update: I've activated the Ajax submit in the HTML Render setup item so now the popup remains open and doesn't close. However the Display Message which I have added on submit still doesn't output.
Hi qmeister,
Using an iFrame to display the form may be the easiest way to do this. AJAX might also work - the setting is in the HTML (Render form) action. If you are using the Simple Wizard then you will need to change the form type to Advanced in the General tab and re-save to see this.
Bob
Hi GreyHead,
Thanks for getting back to me. We have Advanced mode in the General tab but looking in the HTML (Render form) action I can't locate that iFrame display option. Can you point me in the right direction?
I should mention that we are using LightboxContent plugin to open the article which itself contains the form. The form currently disappears on submit, leaving the rest of the form contents visible in the popup, so all we need is to have the post-send message appear. I thought I should clarify just in case it changes the strategy.
Hi qmeister,
The AJAX submission setting is in the HTML (render form) action.
The iFrame setting will be in the modal window setup somewhere. You need to include the form HTML with &tmpl=component at the end to stop the rest of the site template showing in the modal window.
Bob
Hi Bob,
The popup is opened with the plugin I mentioned -it pulls the entire article into the popup. We don't want the form in a popup of it's own, so that method isn't really going to be suitable as we don't want to change the popup.
Hi qmeister,
Then I suggest that you see if the AJAX submission works.
Bob
Hi GreyHead,
I have the Ajax submit activated and have the message placed in a Display Message element but it's not working.
Hi,
I still haven't been able to resolve this. Are there any other suggestions? I still can't get the message to display.