Place a cookie on user after form completion

  • srouse
    Asked on April 16, 2018 at 9:51 AM

    Hi I'm looking to place a cookie on a user after filling out a form. The form is embed on the page using the javascript embed code. If the user has already filled the form out, I would like to redirect to a new page without the form. Is this possible to do when embedding a form like this?

    Any guidance is much appreciated.

  • Kiran Support Team Lead
    Replied on April 16, 2018 at 11:05 AM

    Unfortunately, setting up cookies using JotForm is not possible. However, you may consider setting up a custom Thank you page by setting up the cookie and host it on your web server. You might need to program the web page where the form is embedded to display the form or redirect the user to another page based on the cookie.

    Please get back to us if you need any further assistance. We will be happy to help. 

  • srouse
    Replied on April 16, 2018 at 2:19 PM

    Would implementing a method similar to what is described in this thread work for me?

    https://www.jotform.com/answers/112522-How-can-I-auto-populate-or-set-a-cookie-for-returning-vistors

  • Kiran Support Team Lead
    Replied on April 16, 2018 at 3:29 PM

    Yes. The method described on the other thread should work that you may give a try.

    Please get back to us if you need any further assistance. We will be happy to assist you further.