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

    Is there a way to prepopulate a form field and then lock it?

    Asked by Shirley on April 06, 2015 at 06:32 PM

    We currently have a field (Job Appplying for) in our form found here: http://www.ugsc.ca/careers_application.html?positionApplying14=CAD%20Technician%20GP

    That we pre-populate for the user via a link (see above) - based on the link they click, it prepopulates the "job applying for" field. 

    We have found that some users are then changing this field to something else, is there a way for us to populate this field for the user (as we are currently) but then locking it as read-only once it is filled in? Or another suggestion for this?

    Thank you,

    Shirley Blundell

     

    Page URL:
    http://www.ugsc.ca/careers_application.html?positionApplying14=CAD%20T<br/>echnician%20GP

    form field lock read-only populate
  • Profile Image
    JotForm Support

    Answered by jonathan on April 06, 2015 at 08:12 PM

    Hi Shirley,

    You can set the Read-Only property of the field to ON and the pre-population process will still work.

     

    Example 

    http://form.jotformpro.com/form/50957307320957?positionApplying=CAD%20Technician%20GP

     

    Hope this help. Let us know if this did not work for you.

    Thanks.

     

  • Profile Image

    Answered by sblundell on April 06, 2015 at 11:50 PM

    HI there,

     
    Thank you for your response.
     
    I had tried this before submitting the question however it seems that then the info in the link did not populate in the form... I changed it back since it was not allowing the form to be prepopulated. Any thoughts?
     
    Thanks,
    Shirley

     

  • Profile Image
    JotForm Support

    Answered by jonathan on April 07, 2015 at 12:12 AM

    It was working on the link I provided.

    http://form.jotformpro.com/form/50957307320957?positionApplying=CAD%20Technician%20GP

    As you can see the field Position Applying for is a Read-Only field, and it has a default value.

    Are you saying that your form is not having similar output?

    Can you share to us the URL of the pre-populated URL. we will check.

     

    Thanks.