Does anyone know how to apply a mask to a text field in a cfform and base the mask on the option selected in a cfselect?  I have a search field that will allow a tech to search a table and choose the field that they would like to search on – that part works fine.  However, there is a serial number field and there are two different “masks” for the field.  One is 9999-9999-9999 and the other is  99999-9999-99999-99

 

How would I have a drop-down that had my five search field options but if serial 1 is chosen the text search field had the mask of 9999-9999-9999 but if serial 2 were chosen it had a mask of 99999-9999-99999-99

 

Or would it just be easier to try to test to see if the –‘s were there and add them if they weren’t?

 

Thanks,

Tim

 

Tim Starling
Internet Administrator
Global Aid Network

A ministry of Campus Crusade for Christ International
972-234-0800, extension 1335
www.gainusa.org

 


This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal - For more information please visit www.marshalsoftware.com
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to