[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Validation constraint


I am trying out the ValidateRM plugin. I have it working with one form which is cool.

The second form I have deals with hours worked on a project. The hours are put in by increments of .25 (i.e. it could be .50 or 7.75). I know I can check this with the mod ( % ) operator but I haven't a clue on how to make that a constraint for the "total_hours" field to make sure the user is putting in a valid number.

Robert


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.