Setting up the Thank You message to open a new window

If you need the Thank You message to open a new window to a certain URL, please head to Components >> RSForm!Pro >> Manage Forms >> edit your form >> Properties >> From Info, edit the Thank You message in HTML mode and place the following script:

<script type="text/javascript">
window.addEvent('domready', function() {
window.open("http://www.w3schools.com")
});
</script>

in the Thank You message's text.


Note:

You might encounter issues in saving the script when editing the Thank You message in HTML mode. This is not being generated by RSForm!Pro, but by your editor, as it might be stripping HTML tags for security reasons. To fix this, please disable the editor from Site >> Global Configuration >> Site >> select 'Editor - none' in the 'Default Editor' drop-down.

After adding the script in the Thank You message, you can re-enable the editor.


4 persons found this article helpful.


Was this article helpful?

Yes No
Sorry about that

You Should Also Read

Dynamically adjust email and thank you message content without PHP knowledge HOT

How do I show the uploaded image in the Thank You message? HOT

Loading content plugins in the Thank You message