RE: Simple validation

2001-04-04 Thread Douglas Malcolm
April 04, 2001 12:38 AM > To: CF-Talk > Subject: RE: Simple validation > > > > May i use it for validation of ...E mail Address. > like > > > > > > > > > doug@mediate. > >

RE: Simple validation

2001-04-04 Thread mahmad
RE: Simple validation 04/04/01 03

RE: Simple validation

2001-04-03 Thread Christopher Olive, CIO
isDate(). isNumeric(). chris olive, cio cresco technologies [EMAIL PROTECTED] http://www.crescotech.com -Original Message- From: Steven A. del Sol [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 6:04 PM To: CF-Talk Subject: Simple validation I am in desperate need of a simp

RE: Simple validation

2001-04-03 Thread Douglas Malcolm
Steven, This may help. I pasted it from a presentation I wrote to give to some staff programmers recently, so please excuse the semi-formal language. Form validation via cold fusion CF includes an easy way to validate your forms, called “Cold Fusion embedded form validation”. The syntax is p

RE: Simple validation

2001-04-03 Thread Dylan Bromby
In reverse-order: 2. Number field (not a cfform just a plain form) - must validate that data entered is a number --> Use JavaScript to handle this on form submission. Or use CF: IsNumeric() to handle it post-submission. 1. Date field (not a cfform just a plain form) - must validate that data

RE: Simple validation

2001-04-03 Thread Hayes, David
Look at the CF isDate and isNumeric functions for server side validation; For client side, here's some javascript for date format validation: var dateObj = new Date(); if (isNaN(dateObj.valueOf())) return false; For numeric, use isNaN. -Original Message- From: Steven A. del So