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

    How to have the field prefilled, but editable?

    Asked by quikval on January 06, 2017 at 04:58 PM

    What if I wish to have the field prefilled, but editable?  The entire email address would remain a *single* field, but the @gmail.com portion were just prefilled and the field remains editable.

    Is there a way to customize what I just described through code that would allow the prefilled portion to fill based on a prior field's content (perhaps @hotmail.com or @yahoo.com)?

    Do those above questions make sense?

  • Profile Image
    JotForm Support

    Answered by Kiran on January 06, 2017 at 09:59 PM

    I understand that you want to have the email field as a single field to be prefilled and editable. In this case you may use the default value property to display the domain. Please see the screencast below:

    Since it is supported by one of the properties of the text field, it is not required to get the code to customize.

    Hope this information helps! Let us know if you are referring something different. We will be happy to help.