Post page URL
Caleb created the topic: Post page URL
I'm looking for a way to include the page the form was submitted on in a hidden field.
I've gone through different posts here on the forum, but they're either very confusing or the solution was apparently only provided to the person who created the post.
Is there one place I can go to get step by step directions from start to finish?
Please Log in or Create an account to join the conversation.
7 years 5 months ago
Agapi G. replied the topic: Post page URL
Hello Caleb!
Thanks for posting your request!
Here's the code you will need to use to assign the post URL as a hidden field value. It needs to be added to Form Options of your form, specifically to Javascript tab.
var submitUrl = window.location.href;
jQuery('#hidden_field_id').val(submitUrl);
The ID hidden_field_id should be the exact ID of your hidden field. You can get it by inspecting the element with developer tools of your web browser.
Thank you! Have a great day!
Kind regards,
Agapi G.
Web-Dorado team
Please Log in or Create an account to join the conversation.
7 years 5 months ago
Time to create page: 0.155 seconds