| Subject: | Re: validating & masking using cfinput |
|---|---|
| From: | "Kapitaine" |
| Date: | Thu, 21 Feb 2008 13:15:29 +0000 UTC |
| Newsgroups: | macromedia.coldfusion.cfml_general_discussion |
Can you not simply leave it as it is, then check when the form is posted what it equals? If it equals (000) 000-0000) you could simply make it blank. E.g <cfset variables.cellnumber = trim(form.cellnumber) /> <cfif variables.cellnumber eq "(000) 000-0000)"> <cfset variables.cellnumber = "" /> </cfif> <cfoutput>#variables.cellnumber#</cfoutput> Not sure if that would work because I'm just using my head but it's worth a shot. Hope I'm actually seeing the point properly here. Thanks, Mickey. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Recursively Delete Records, Kapitaine |
|---|---|
| Next by Date: | Re: validating & masking using cfinput, Dan Bracuk |
| Previous by Thread: | validating & masking using cfinput, DaSpaz |
| Next by Thread: | Re: validating & masking using cfinput, Dan Bracuk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |