In my user edit form I want to add a text field where it asks name of class and I want to add other field List text type and it will display the grade for example:

Math Grade 7 Now the issue is that teacher can add more than 1 class so and the option field I set unlimited elemts but it doesn't work properly because also I need to add element in List text.

I want to achive this:

Math Grade 7 Bio Grade 5

Add class


Math Bio Grade 7 Grade 5

one is not depending of other, please Help!!

  • are you using field collection module or any other modle to bundle uo the two different fields?
    – arpitr
    Sep 29, 2016 at 6:32

1 Answer 1


You can use Field Collection module to achieve this.

Using this module you can create group of field, such as class and grade in one collection. Also you can set 'Number of values' to unlimited for field.


  • Ok, I did know that it module exist, thank you I will check it. Sep 29, 2016 at 13:29

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.