How to pass a string to a form

  • Profile Image
    DS65
    Asked on May 29, 2014 at 05:36 AM

    I'm referring to this page: http://ds65.nl/posters_vrijwerk.html (sorry only Dutch, but my question is simple): On the left is an image, on the right is a description of the article. Below the title is a article number Artikelnr: SURPST0069.

    My question, can I somehow pass this article No. to a orderform yet to be made?

    Thank you.

  • Profile Image
    NeilVicente
    Answered on May 29, 2014 at 07:10 AM

    You can use URL parameters to populate a form's field with your text of choice.

    If the same form is called by different links, each link can prefill the form with your string. The following links, for example, calls the same form, but prefill it with different strings:

    SURPST0069

    SURPST0070

    SURPST0071

    To learn more about URL prepopulation:

    http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters

  • Profile Image
    bob
    Answered on May 29, 2014 at 07:37 AM

    I ain't sure whether I've understood the issue very well. However I'm trying to provide a workaround based on what I understood so far. Why not have a try?

    First of all add a Custom Unique ID as a hidden field to your form.

    Set the ArtikelNr on your notification as well.

    The ID I got from email notification:


    Now utilize the Artikelnr ID you got from the notification as the following URL format to your order form by adding "?artikelnr= You Article ID":

    http://form.jotformpro.com/form/12345678912345?artikelnr=SURPST0002

    Reading the guidelines on How to Prepopulate a Form Field might help you with more details.

    Please get back to us with updates about your query.

    Thank You.

  • Profile Image
    DS65
    Answered on May 29, 2014 at 08:32 AM

    Yes the form is called by different links, I will try this out and let you know if this is what I need, but seeing this it is what I need. Thank you.