We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Forms, Form Processing & Anti-Spam
eForm
Search
(Solved) "Company" field not always required
16 Posts
Nistau
Reply #1,
17 years ago
Hiya All,
I have a form that works unless the "Company" field is left blank. This is not good. Is there some way around this? Could I put in a default value? How? or somehow ignore it if it is blank?
Thanks for any help!
16 Posts
Nistau
Reply #2,
17 years ago
Aha! Search outside the box. lol
I found a non-modx solution at
http://codingforums.com/showthread.php?t=131376
value="Keine"
eg
<p><label>Firma</label></td><td><input type="text" name="firma" size="40" maxlength="60" eform="Your Name::1" /></p>
becomes:
<p><label>Firma</label></td><td><input type="text" name="firma" value="Keine" size="40" maxlength="60" eform="Your Name::1" /></p>