i have a field set up as type=numer but dbman lets me enter alpha characters in the field. how do i get it to validate that only numbers are entered?
Mar 8, 2001, 2:48 PM
Enthusiast (720 posts)
Mar 8, 2001, 2:48 PM
Post #2 of 3
Views: 3241
In the valid expr field of the database configuration, enter ^\d+$
eg: Number => [1, 'numer', 5, 4, 1, '', '^\d+$'],
- Mark
Astro-Boy!!
http://www.zip.com.au/~astroboy/
eg: Number => [1, 'numer', 5, 4, 1, '', '^\d+$'],
- Mark
Astro-Boy!!
http://www.zip.com.au/~astroboy/