Populating fields to your JotForm via URL parameters

  • ntnambi
    Answered on April 18, 2012 01:15 AM

    Thanks . I followed it and used it in 2 places

    1. in Autoresponder and the URL comes up with values

    http://form.jotform.co/form/99999999999999?member_id=sg-13&firstName=daniel

     

    But when I click the above link the new form is not getting populated :(

     

    2. I gave the same URL in

    http://form.jotform.co/form/99999999999999?firstName={fullName3:first}&lastName50={fullName3:last}

     

    This time the form is populated but with variable names {fullName3:first}

    instead of the values

     

    Pls advice . pls note I have masked the form id by 9999..

  • Jonathan JotForm Support
    Answered on April 18, 2012 01:58 AM

    Hi,

    It will not work this way because the value that should be applied to the parameters should be actual values, not variables ({variable}).

    Like this sample http://form.jotform.co/form/21061569133852?firstName=John&lastName50=Smith

    John and Smith are the values passed to the firstName and lastName50 parameters.

    Also the paramaters that are in the URL should match the field names in the form page(you can see this in the souce code). Like in your case, I think there is no fullName field in your My Education form, what I saw instead was 2 separate fields (firstName and lastName50).

    If you look at the guide, the values supplied to the parameters are actual values.

    Hope this helps. Inform us should you need further assistance.

    Thanks.

  • ntnambi
    Answered on April 18, 2012 02:16 AM

    Hi Jonathan,

    Yesterday it was confirmed in the forum that one can use variables. pls see this

    http://www.jotform.com/answers/92571-Hi-I-have-2-jotforms-

     

    Thanks

    with regards

    Nambi

     

     

  • Jonathan JotForm Support
    Answered on April 18, 2012 02:20 AM

    Hi Nambi,

    You are correct! =) Sorry, I never saw that.

    Let me make up for it by helping you solve your issue. I will check further. Will update you on this.

    Thanks. 

  • ntnambi
    Answered on April 18, 2012 02:35 AM

    1. in Autoresponder and the URL comes up with values

    http://form.jotform.co/form/99999999999999?member_id=sg-13&firstName=daniel But when I click the above link the new form is not getting populated :(

    Hi Jonathan,

    I got the issue with the Autoresponder . (see my highlighted problem statement FYI)

    the issue was  : I changed the url in Autoresponder email body but the underlying <a href > in HTML was still referring to an old URL  !

    I opened the html and then was able to correct it .

    is this a bug ?

    P.S. I still have issue with Custom URL though !

    Thanks

    Nambi

     

     

  • Jonathan JotForm Support
    Answered on April 18, 2012 03:21 AM

    Hi Nambi,

    On the URL for the autoresponder it should be like this  

    http://www.jotform.co/form/21061569133852?fullName2[first]={fullName2:first}&fullName2[last]={fullName2:last}

    Remove 'form' there should be square brackets to separate the parts of the params. I tested it on my form, supplying the params to your form and the link works. I never encounterd the referring to the old URL though.. perhaps its just a cache?

    BUT still, the Custom URL would not work though., I even enabled POST data in the form but still no go. It seems the {variables} are not really getting to the custom url thank you pages (I hope I am really correct this time).

    I will try investigate further on the custom url method using variables on the parameter values.

    I will update you still if I have new findings. Thanks.


  • Jonathan JotForm Support
    Answered on April 18, 2012 03:33 AM

    Nambi,

    the issue was  : I changed the url in Autoresponder email body but the underlying <a href > in HTML was still referring to an old URL  !

    Now I saw what you meant by this, I encountered it also. It is indeed a glitch, and the only way to clear it is to delete the email notification or autoresponder.. and redo them, then add the url link. This will then take effect on the new email.

    FYI

    Thanks.