DWCS6, web form
i'm designing web form using spry validation text fields. need validate 1 field number field having 9 digits. far, closest "type" dropdown selection in properties inspector "integer." not need, since integer allow entry of "-" 1 of digits. digits need limited "0" through "9". while "social securty number" type close (9 digits), won't work, since form user may need fill in employer identification number -- has 9 digits, hypen in different spot.
help appreciated.
thanks,
tom
since integer allow entry of "-" 1 of digits
no. - (hyphen) not integer , not regarded one.
take @ last example here: http://adobe.github.com/spry/samples/validationwidgets/textfieldvalidationsample.html
btw, spry has been deprecated , no longer 'officially' supported adobe: http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l
while continue work, future maintenance, i'd recommend consider jquery based validation plug-in.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment