We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22702
    • 3 Posts
    Hey community first post!

    I’m having an issue with the FormIt extension. When I add two error check parameters it outputs two error messages.

    For example:

    <input type = "text" name = "email:email:required" size = "40" value = "[[+fi.email]]" />[[+fi.error.email]]
    


    Will output something like this when the field is left blank.

    Please enter a valid email address. This field is required.

    do you guys know how to have it ONLY output just one error at a time? So that it looks like this:

    Please enter a valid email address.

    thanks
      • 17499 ā˜† A M B ā˜†
      • 872 Posts
      You can put out the required status by changing your input from that:

      <input type = "text" name = "email:email:required" size = "40" value = "[[+fi.email]]" />[[+fi.error.email]]
      


      to that:


      <input type = "text" name = "email:email" size = "40" value = "[[+fi.email]]" />[[+fi.error.email]]
      
        • 28405
        • 1 Posts
        With Formit 1.1-RC2 I constantly get the following error message response:
        formit.field_required

        It is not properly picking up the correct language files.