We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 727
    • 502 Posts
    Here is an integer I have added:

    <input name="num" type="text" eform="Number:integer:0::" />


    If I leave the field empty then eform complains that the entry is an invalid number. Essentially this makes all integers mandatory. Any suggestions?

    Andy
      • 30223
      • 1,010 Posts
      This is a known issue but I believe it is corrected in the latest version in the repository. Try downloading and installing 1.4.3 again.
        • 727
        • 502 Posts
        Previously I was using 1.4.1. I upgraded to 1.4.3 and now it allows me to leave a integer field blank. However it no longer complains if I enter something like "g". Version 1.4.1 did.

        Andy
          • 30223
          • 1,010 Posts
          I just tried on my local dev server and a ’g’ gives an "is not a valid number" error while an empty field is fine..

          Care to post your form template and snippet call?