0

how to add dynamic user registration fields . I need a phone number field which can be added by users during registration by pressing "add more" button as many times he wants .

Is it possible ? or any other approach ?

thanks

6
  • 1
    Yes, it's possible, that's the default behaviour for a multiple cardinality field. What problem are you having?
    – Clive
    Commented Oct 23, 2013 at 12:50
  • Where can i find this "multiple cardinality field" ; while creating a field in my profile i see basic options like , text , image , list etc .
    – brainHax
    Commented Oct 23, 2013 at 13:14
  • 2
    The cardinality is part of the settings for every field type - edit any field, scroll to the bottom, and change "Number of Values" to "Unlimited"
    – Clive
    Commented Oct 23, 2013 at 13:15
  • thanks , i did;t think about that . can i have a another option in "multiple cardinality field" saying this phone number is "primary" and this is "secondary" ?
    – brainHax
    Commented Oct 23, 2013 at 13:27
  • Why not have one field for the primary number, cardinality 1, and another optional field with unlimited cardinality for secondary numbers? Commented Oct 24, 2013 at 8:29

1 Answer 1

0

I think you can use the Field Collection module.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.