We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11793
    • 49 Posts
    I have a text area that is marked Required.

    <textarea name="Brief" id="Brief" class="text" cols="50" rows="3" eform="Brief:html:1"></textarea>


    eForm is correctly adding the "required" CSS class. It is also correctly validating such types as ’integer’ and ’date’ (the above example uses html, which is the preferred format).

    BUT, it is not checking if the field is empty.

    When I submit the form, the name of the textarea is not included in the list of fields that are required.

    Also, if I fill out all the other required fields and leave the textarea empty, the form will submit successfully.
      • 20349 ☆ A M B ☆
      • 453 Posts
      try this:
      <textarea name="Brief" id="Brief" class="text" cols="50" rows="3" eform="Brief:textarea:1"></textarea>

        BASE - Web Design Studio
        MODX Ambassador

        Website