We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30517
    • 9 Posts
    Hello. Another newbie question for those in the know.

    I’ve put together a form and it’s working..basically..with only one problem. My required first and last names and email text boxes are being treated as if not required.

    Here is the form element for the email:
    <label accesskey="e" for="email">Your Email Address:</label>
    <input type="text" name="email" size="40" maxlength="40" value="email" eform="email:1" />

    I’m not sure what the accesskey is about. I’ve found no explanation for it in the documentation, so I’m wondering if there is something I need to do about those that I haven’t done.


    any suggestions?
      • 30517
      • 9 Posts
      Never mind. I figured it out and feel a bit silly. embarrassed
        • 33982 ☆ A M B ☆
        • 476 Posts
        Never mind. I figured it out and feel a bit silly.
        So what did you find out?  It may help someone else later. Never feel like anything is silly...we’ve all had to start somewhere...I personally learned the most by trial and error and making "silly" mistakes.
          Precision Web Development ... SmashStack.com
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Looking at the eform= attribute as posted, I would imagine that it was the incorrect format of the attribute...
          eform="email:1"
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org