I am placing the same form on both a blog and the website.

  • Profile Image
    TheDGPA
    Asked on June 21, 2013 at 12:04 PM

    I am placing the same form on both a blog and the website. I'd like the thank you page to match the style of the blog when on the blog and match the style of the website when on the website. So, my question is...

    Is there a way to send the user to a particular thank you page, depending upon where the form is embedded?



    This is a re-post of a comment on Smart Forms Using Conditional Logic

  • Profile Image
    jefreylandicho
    Answered on June 21, 2013 at 12:26 PM

    Yes I believe this is possible. You can prepopulate a Hidden Field located under Power Tools then set the conditon to change url base on the value of the hidden field.

    To prepopulate a the hidden field, you will need to add a value after the embed script form id e.g.

    <script type="text/javascript" src="//www.jotform.com/jsform/30424134195952?url=blogsite"></script>

    The url would be the name of the hidden field and blogsite is the value that would be place in the url field so when you embed a form on your blog and main website, simply change the value of url e.g. url=blogsite for blogsite and  url=website for mainsite. Please do not forget the to add a question mark if non existed between form id and hidden filled name.

    Then createa a condition to change thank you page in Setup & Embed > Conditions then select

    Then create a rule and action that would validate the value and change the url when rule is met.

    If you need further assistance, please contact us again.

  • Profile Image
    TheDGPA
    Answered on June 21, 2013 at 05:05 PM
    This was AWESOME! Thank you!!!