By ahneill on
(note:sorry, this was originally filed incorrectly under pre-installation)
I know I can simply make a blank area for "phone," but I would like to offer something similar to what is now offered by Thierry through his Phone(CCK) module which adds a validating phone component to a CCK content type. Can I use this with webforms somehow, or does someone have a cleaner solution using the most recent version of webforms(10-23 as of writing this).
Thanks
Art
Comments
An ugly hack
This is probably a little bit late but it won't hurt to post it :)
I don't know if there's a cleaner way but this is what I've done in a hurry. You can add a javascript validation in a markup component. In my case I needed a text field which will allow numbers only as an input. So I created a markup component with the following content to validate a textfield component on the form:
I hope this would help :)