On Tue, Dec 14, 2010 at 11:33 PM, eldorado2768 <[email protected]> wrote: > I am a newbie at cakephp and so far I like it a lot. My question > relates to data validation. Jquery has some really nice data > validation features that include input masks for dates or phone > numbers, etc. Is there a way to implement a mask on an input field in > cakephp and if someone out there knows, I would appreciate a snippet > of sample code. Thanks!
Masking is something done client-side. As you mentioned, JQuery can do this for you. On the server side, look at the validation rules in the manual. If none of the built-in rules do what you want, you can create your own using RegExps. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
