We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21596
    • 16 Posts
    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!
      • 21596
      • 16 Posts
      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>