Let me first say that I stumbled through setting up eForm, I’m not a modx expert by any means. I finally got everything working on the form, except the phone number section.
Here is what I have:
<label for="phone">Contact Phone</label>
<input id="phone" maxlength="40" name="phone" size="40" type="text" eform="Phone Number:integer:1" />
I want it to be a require field and allow only numbers and "-" dashes in the xxx-xxx-xxxx format. Right now I can just enter in a single digit and it will submit.
Let me know what other information you need to help me out. Thank you so much!