Error message on required field

  • Profile Image
    Cormac_cormac
    Asked on March 02, 2021 at 05:57 AM

    Hi there

    Regarding this form:

    https://eu.jotform.com/build/210472535128350


    When user enters the first name, the form prematurely gives an error that the surname is required. Is there any way to overcome this?

  • Profile Image
    egehatirnaz
    Answered on March 02, 2021 at 07:07 AM

    Hello Cormac_cormac,

    If you do not need Name & Surname field to be required, you can disable the required mode from Build > Click on the Name field > Properties > Required
    1614684102_603e1fc6c9142_If the user has filled out the name and clicked anywhere outside the field, an error will show up as the "Last Name" field is still empty.

    To prevent that, you can make two separate form fields for "First Name" and "Last Name" by using two "short text" fields:

    1614686354_603e28921d247_1. Select "Short Text" from Basic Form Elements and drag it to your form.
    2. Set the label to "First Name".
    3. Click on the "Properties" next to your form element.
    4. Set the "Required" property to "On".

    Repeat these steps one more time to create the "Last Name" field as well.

    If you have further questions, please do not hesitate to contact us!