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 :)

CommentFileSizeAuthor
mumsmailprofile2 copy.jpg388.61 KBdzinergal

Comments

gillarf’s picture

These 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

gillarf’s picture

Issue summary: View changes

went back to edit webforms and saw that i have email, date and number fields as field types there