How to get the hidden field value in submission to redirect url post dat

  • priyankakrvinodh
    Asked on September 16, 2024 at 11:01 PM

    what are all the options do we need to enable in the jotform settings to get the hidden field value in the jotform Thankyou page redirect url post data,

  • Lorevie JotForm Support
    Replied on September 17, 2024 at 2:41 AM

    Hi priyankakrvinodh,

    Thanks for reaching out to Jotform Support. Can you try to set your hidden field values to do not clear? Let me show you how to do this:

    1. In Form Builder, click on Settings on the orange navigation bar at the top of the page.
    2. Select Settings from the left side window.
    3. Click on Shore More Options.
    4. Look for Clear Hidden Field Values, click Clear when submitted and select Don't Clear. How to get the hidden field value in submission to redirect url post dat Image 1 Screenshot 20

    Give it a try and let us know how it goes.

  • priyankakrvinodh
    Replied on September 17, 2024 at 3:09 AM

    It is not reflecting in my case. So i have a below hidden field in my jotform
    How to get the hidden field value in submission to redirect url post dat Image 1 Screenshot 40and in the settings page mentioned option also enabled
    How to get the hidden field value in submission to redirect url post dat Image 2 Screenshot 51

    but after submitting the form it is not coming in the redirect HTTP post data
    How to get the hidden field value in submission to redirect url post dat Image 3 Screenshot 62


    Please help us to resolve this issue

  • Lara JotForm Support
    Replied on September 17, 2024 at 3:48 AM

    Hello priyankakrvinodh,

    To confirm, are you working on this form? If so, I checked the Clear Hidden Field Values settings, and it’s currently set to Clear when hidden. Please change it to Don’t clear as my colleague suggested, and let us know how it goes.

    How to get the hidden field value in submission to redirect url post dat Image 1 Screenshot 20Keep us updated and let us know if you need any more help.

  • priyankakrvinodh
    Replied on September 17, 2024 at 4:53 AM

    for the mentioned form it is working when change it to Don't clear, but for the below two forms it is not working


    https://form.jotform.com/242598755407065


    https://form.jotform.com/242531037429453


    could you please check?

  • priyankakrvinodh
    Replied on September 17, 2024 at 4:55 AM

    for the mentioned form it is working when change it to Don't clear, but for the below two forms it is not working


    https://form.jotform.com/242598755407065


    https://form.jotform.com/242531037429453


    could you please check?

  • Lorenz JotForm Support
    Replied on September 17, 2024 at 5:51 AM

    Hi priyankakrvinodh,

    Can you provide more details about the exact flow of the form? I checked, and I notice you're using the Hidden Box widget, but I'm not sure how you prefill it with a value, since didn't specify any default value in it. Can you explain a bit more about it?

    Once we hear back from you, we'll be able to help you with this.

  • priyankakrvinodh
    Replied on September 17, 2024 at 6:01 AM

    Hi i'm generating the URL like below to prefill the data in the jotform, So i need the hidden box values also in the HTTP redirect post data and as per the previous commands i enabled the Don't clear option in the form settings

    'https://form.jotform.com/242598755407065?invite_data=' + str(created_invite.id)+'&name[first]=' + first_name

  • Lorenz JotForm Support
    Replied on September 17, 2024 at 6:48 AM

    Hi priyankakrvinodh,

    Instead of Hidden Box widget, have you consider using a normal Short-text field that is set to hidden? Let me walk you through on how set it up:

    1. In Form Builder, click on the Add Form Element button.

    2. Add the Short text field to the form and label it.

    3. Go to the field's Advanced tab, and enable Hide Field, so it won't appear on the user's view.

    4. Then, click on the Field Details, and use the field's Unique name as the parameter name.

    How to get the hidden field value in submission to redirect url post dat Image 1 Screenshot 20

    Give it a try and let us know how it goes.

  • priyankakrvinodh
    Replied on September 17, 2024 at 7:27 AM

    The above options also can't work in our case. Please help us to achieve the scenario.


    we need one hidden box/ any type of hidden input and that needs to be in the HTTP redirect post data

  • Lorenz JotForm Support
    Replied on September 17, 2024 at 8:31 AM

    Hi priyankakrvinodh,

    The above suggestion actually works. I tested with one of my forms, where I used a hidden short-text field instead, and it shows the data on HTTP Post. Check this out:

    How to get the hidden field value in submission to redirect url post dat Image 1 Screenshot 20

    Have you tested it already? I checked the hidden box widget, and there doesn't seem to have an option to prefill it with data from the URL parameter.

    Give it a try and let us know how it goes.

  • priyankakrvinodh
    Replied on September 18, 2024 at 9:30 AM

    Hi,

    The above mentioned approach will work for the Hipaa compliance enabled Jotform?

  • Paolo JotForm Support
    Replied on September 18, 2024 at 10:01 AM

    Hi priyankakrvinodh,

    Yes, it would work even for HIPAA compliance enabled forms.

    Give it a try and let us know how it goes.

Your Answer