You are viewing limited content. For full access, please sign in.

Question

Question

Forms GET Vs POST Vs Cookie

asked on March 6, 2017 Show version history

Hi,

I am implementing a solution for a customer using LF 10.2 Avante with Forms.

I have a Form with anonymous access enabled via a DMZ server for pre-qualified users to submit. I originally wanted to use GET method to pre-fill a hidden form field and then use look-up rules to fill additional fields. (The form will be invoked from a purpose built Partner Portal and a variable will pass a unique Partner ID)

Our client asked me if it would be possible to use a POST method to pass this value rather than have it exposed in the URL. Seeing that I don't have to query anything other than place a value in a hidden form field, POST seems like a bit of stretch.

Please can someone confirm if POST is still the right way to go? If so, can you share some code?

Also, is it also possible to fill a form field value from a cookie instead? If so, can you share some code?

If none of these is possible, I am thinking of recommending GUID with GET method to prevent unauthorised users from tampering with the form.

Thanks,

Adarsh

1 0

Answer

SELECTED ANSWER
replied on March 8, 2017

POST is used for submitting the data to the Forms server. In your case to prefill the unique Partner ID in the field you need to use Get to pass the value to the form so that user can fill the remaining part of the form and then submit it manually which will use POST to submit the form data.

0 0
replied on March 9, 2017

Thank you Xiuhong. That answers my question.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.