Hello, I have been searching the forums trying to find an answer to my question with no luck.
I have three Chronoforms (V4) each is inside a Tabbed area on a page. I have the ability to display a tab as opened simply by adding a anchor link to the URL with the tab name. At the moment when I submit a form, the page reloads and the tab is closed so the user never gets to see the Thank you message which is hidden inside the now closed tab. The simple solution will be for me to append the text "#MyTabName" to the end of the Submit URL. I have tried some of the redirect options but am having no luck. Is there an easy way to do this? I am using SEF URLs so the URL after submission looks something like:
formpage.html?chronoform=my_form_name&event=submit
I need it to look like:
formpage.html?chronoform=my_form_name&event=submit#MyTabName
I have tried adding the following PHP code in an OnSubmit action with no luck.
Any suggestions would be greatly appreciated.
Thanks!
--Gary
I have three Chronoforms (V4) each is inside a Tabbed area on a page. I have the ability to display a tab as opened simply by adding a anchor link to the URL with the tab name. At the moment when I submit a form, the page reloads and the tab is closed so the user never gets to see the Thank you message which is hidden inside the now closed tab. The simple solution will be for me to append the text "#MyTabName" to the end of the Submit URL. I have tried some of the redirect options but am having no luck. Is there an easy way to do this? I am using SEF URLs so the URL after submission looks something like:
formpage.html?chronoform=my_form_name&event=submit
I need it to look like:
formpage.html?chronoform=my_form_name&event=submit#MyTabName
I have tried adding the following PHP code in an OnSubmit action with no luck.
<?php
$MyForm->formrow->redirecturl .= '#MyTabName';
?>
Any suggestions would be greatly appreciated.
Thanks!
--Gary