Typing an invalid email on an Form email field type will be correctly validated as long as the string has a valid email address

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      Typing an invalid email on an Form email field type will be correctly validated as long as the string has a valid email address, for example:
      Test String <ts@test.com>

      Steps to Reproduce

      1. Add the Email field type to a Form
      2. Test the Form and type any string that has a valid email address on the Email field, but also blank spaces among other characters that make the email address invalid

      Expected Results

      A message should appear indicating the email entered is invalid

      Actual Results

      The email seems to be correctly validated as no errors/warnings are shown

      Workaround

      Add a text field type (Short text or Long text) that has checked the Must match regex pattern validation and add the following regex expression:

      Regex expression can be found here (Advance usage section > Valid email address)

      This will prevent any invalid email address to be entered.

        1. Screen Shot 2022-04-12 at 15.05.32.png
          23 kB
          Rogelio Martinez Chavez

            Assignee:
            Simon Herd (Inactive)
            Reporter:
            Rogelio Martinez Chavez
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: