Embedded form showing red errors by default

  • EastEndSeaportMuseum
    Asked on July 30, 2019 at 3:13 PM

    But can you still address why it's showing red errors by default.

    Thanks,

  • jonathan
    Replied on July 30, 2019 at 3:36 PM

    I was able to see the issue also when I checked on your embedded form on the website.

    1564514737zzz 2019 07 31 03 Screenshot 10

    The required validation error is being triggered automatically by the payment field due to the Conditions script you have setup on your form.

    1564514818zzz 2019 07 31 03 Screenshot 21

    on form load, the condition script was already being triggered.  Since the payment field was a set as *required field, the required field validation was being triggered. 

    This is not an error per se, but just by designed.

    You can actually make a test by disabling the Conditions temporarily.

    1564515037zzz 2019 07 31 03 Screenshot 32


    and you will see that the default validation error will not happen on the form anymore.

    1564515059zzz 2019 07 31 03 Screenshot 43


    An alternative fix you can do is :

    Steps:

    1. Make the payment field not required by default.

    2. Add another condition that will only make the payment field required after another field was filled in -- the Email field is best use for this.

    Guide : How to Make a Field Required Based on User's Answer

    These should fix the issue of the payment field being required on form load.

    I hope this help. Let us know if you need further assistance.