Hi I'm new to using Profile 2 and was wondering if someone could point me in the right direction or if this is an issue.
When managing fields I don't have the option to add a number field. I'd like to add a user's telephone number or ID/Passport/Social Security Number and validate it but there is no number field. I dont want to use a text field.
I also don't see the Email field.
See the attached screenshot.
Any help much appreciated :)
| Comment | File | Size | Author |
|---|---|---|---|
| mumsmailprofile2 copy.jpg | 388.61 KB | dzinergal |
Comments
Comment #1
gillarf commentedThese are not out of the box, you need to download and install the right modules that give you these fields,.
For example, the email module will give you a validated email field:
http://drupal.org/project/email
And a field with validator for a phone number is here:
http://drupal.org/project/phone
Your ID number might have specific validation, which you might want to write a custom validation function for.
(see the Field API documentation for more on this)
Or, you could use this to validate your ID number: http://drupal.org/project/field_validation
Comment #1.0
gillarf commentedwent back to edit webforms and saw that i have email, date and number fields as field types there