What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can you use autofill and URL prepopulating at the same time?

    Asked by bartprescott on September 16, 2014 at 04:30 PM

    This works really well and I'm using it on my site, BUT!...

    If you enable the "Continue Form Later" feature and set the "Autofill" to enabled, then the fields set via the URL are ignored!

    I'd really like to use both URL populating and autofill enabled. Is there a fix for this?

    Thanks

    Bart



    This is a re-post of a comment on Prepopulating Fields to Your JotForm via URL Parameters

    site continue form then and
  • Profile Image
    JotForm Support

    Answered by steve on September 16, 2014 at 04:35 PM

    Hello-

    This would be the expected behavior.

    - Prepopulating the field by URL sets the defaults.

    - Autofill retains the data as was previously entered by the user.

    The data previously entered by the user is the most relevant and what the user would like.

    Let me know if that makes sense, or if there's anything else you need.

    Thanks

  • Profile Image

    Answered by bartprescott on September 17, 2014 at 12:33 PM

    Yes, I can understand that, but this make no sense for readonly fields. The user is not able to edit them.

    Thanks.

    Bart

  • Profile Image

    Answered by Carina on September 17, 2014 at 01:36 PM

    I kindly ask you to share with us a form's url so we can test further this matter.

    Thank you

  • Profile Image

    Answered by bartprescott on September 17, 2014 at 02:56 PM

    OK, to demonstrate I have two links, one pre-fills the read-only field with "Hello", the other with "Goodbye"

    Whichever link you select first will override the other link's pre-fill. As the field is read-only, it's impossible to change parameter 1.

    When you consider that the read-only field on my live event registration page is pre-filling similar fields with the event location and date, we then have the situation where a user cannot enter more than one event, the second event will get overridden by the first event's details...

    http://form.jotformpro.com/form/42596151813961?parameter11=Hello

    http://form.jotformpro.com/form/42596151813961?parameter11=Goodbye

  • Profile Image
    JotForm Support

    Answered by steve on September 17, 2014 at 03:12 PM

    Hello-

    Thanks for sending those examples. I understand those just fine, but apologize for not fully grasping what you're trying to accomplish. Per my colleague's request can you send us the form link you're working with? I looked through your forms and didn't immediately find a registration form that could accept more than one event for registration. I see just a single text field, which as you noted, it readonly. This form for instance looks like you can only select one event which can only be selected by prepopulated query variable.

    http://www.jotformpro.com/form/41663854974973

    It sounds like you might need to use a different field type, such as checkbox, to allow for registration of more than one event at the same time.

    Thanks

  • Profile Image

    Answered by bartprescott on September 17, 2014 at 05:48 PM

    That is indeed the form I was talking about. The link to that form appears on one of my event registration pages. For example the current live page is here http://www.rsfeva.org.uk/?event=volvo-rs-feva-grand-prix-northampton-sc

    Next week there will be another event. If I enable the autofill option (which I'd like to do since many of the participants will be filling in the same details), then anyone who entered the event this weekend would then not be able to enter the next event.

  • Profile Image
    JotForm Support

    Answered by steve on September 17, 2014 at 06:13 PM

    Hello-

    Now I see what you're asking. I'll submit a feature request for the option to have autofill be overridden by query vars.

    Another option to try is chaining two forms together. One would have the values set by autofill, the other by query vars. Here's a pretty thorough tutorial on that.

    https://www.jotform.com/answers/15878-How-can-I-connect-two-forms-one-after-the-other-on-the-website-to-submit-at-the-same-time-to-my-email-address

    Let us know if you have questions with this, or need anything else. This ticket will be updated if/when we implement the option to allow query vars to override autofill vars. It would be a toggle on this pane, I imagine:

    Thanks

  • Profile Image

    Answered by bartprescott on September 18, 2014 at 05:45 AM

    That sounds perfect! Thanks for raising the feature request.

    Bart

  • Profile Image

    Answered by stiatti on July 07, 2015 at 11:50 AM

    This feature would be much appreciated!

    Matt

  • Profile Image

    Answered by AaronSiciliano on July 07, 2015 at 12:14 PM

    Hello stiatti,

     

    I have split your response to its own thread. I did this so that your interest in this feature request can be easier tracked and fulfilled. You can view this other thread here.

     

    Thanks, Aaron