Validation of Fields

2009-04-23 Thread Pranathi Reddy
Hi, I am confused of wat really hve to do to display error window popup if error occurs. eg:cfform cfinput type=text name=name1value= cfinput type=Submit name=Submitvalue=Submit /cfform cfif isDefined(form.Submit) cfif not isnumeric(form.name1) cfotputPlease enter numeric

Re: Validation of Fields

2009-04-23 Thread Azadi Saryev
cf has built-in cfform fields validation. you can invoke the built-in client-side validation by using VALIDATE attribute of cfinput tags, possibly in conjunction with some other attributes, like PATTERN if you are doing regexp validation, or RANGE for range validation. all details are in the cfml