I see only e-mail and textfield, but no URL.
How can I add to my form URL field with the validation rules for URL? e.g.
http://somesite.com
or
somesite.com
or
www.somesite.com
?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityWell if you have tons of time you could implement a component type... but because that is unlikely you should just add a validation hook and a textfield to the webform. You could do a valid_url($form_state['values'][[your_field_name']);
in your validation hook.
Someone asked this question on d.o previously here. You can find all sorts of examples on "things you may need to do special with a webform" here.
Another possible solution would be to install the Webform Validation module, add a regex validation to your field, and steal a known usable url validation regex like drupal has.
There is a module called webform_link that could also help you.
This module verifies that a valid URL is entered and displays the result as a link.