Is possible to fill a form with POST method

  • Profile Image
    mirkolambertimigastone
    Asked on May 30, 2016 at 08:02 PM

    Hi,

    I read with interesting and using the URL parameters to fill in data in my forms. Is a good method but sometimes I want to fill in data in hidden fields and don't want that this datas appears in the URL.

    Is there a manner to fill in data in the fields via POST method? 

    Or another method that don't show my data in the URL address?

     

    Many thanks

    Mirko Lamberti

  • Profile Image
    Charlie
    Answered on May 30, 2016 at 08:51 PM

    It depends on how you would like to prepopulate your form.

    I presume you want to receive a data from a source using POST method and you want your form to be prepopulated based on it? If that's the case, the only way is to use the form's full source code. Then directly add your custom scripts to fetch the data from a POST method source. Assign the data received on your variables then directly place those variables on the form's HTML code like in the input fields.

    With that, data will not be shown in the form URL.

    Let us know if you need more help on this.

  • Profile Image
    mirkolambertimigastone
    Answered on June 04, 2016 at 07:03 AM

    Many thanks!

    I'll testing this option too!

     

    Have a great day

    Mirko