Blank lines in server validation make it fail

hefesto 01 Feb, 2016
Not sure if this has been reported already, but here I go:

When setting up Server Validation action, if you enter by mistake a blank line in any of the multiline text areas, it will make validation fail, throwing one default error message per blank line. It's not a big deal when you know about it (I'll remember to check all text areas for blank lines from now on), but for this first time it drove me nuts for a couple of hours until I figured out😀. Maybe removing blanks before saving would be a good idea.

Cheers!
GreyHead 01 Feb, 2016
Hi hefesto,

You are right - there are several places in ChronoForms where the code could be a bit 'cleverer' than it is - you'll find a similar thing with drop-down options and list of email addresses can't have spaces between them . . . maybe they'll get cleaned up in a future release.

Bob
This topic is locked and no more replies can be posted.