The webforms module is installed in the drupal installation I am using and the form is working great but I ran into a problem with validation. Is there a way to use validation when creating a form using the webforms module. In the form I just created you can enter text data into the phone number field. I would like the form to check that the phone is atleast numbers.

Can anyone Help?

Comments

ullgren’s picture

Status: Active » Closed (fixed)

In 4.6 this isn't possible in 4.7 you can create your own custom components. Use the components/textfield.inc as a example.

thierry_gd’s picture

Just added a new module for creation / validation of phone field via CCK
check it out at : http://drupal.org/project/phone

It 's a beginning, can still be improve