I want a node form where someone types "C-101" at "Course Code" on text field and the field below named "Course Title" should automatically populated "Computer Science" from taxonomy term at real time.

I can manually prepare for what "Course Code" should have what "Course Title". Any module or suggestions ?

Comments

nevets’s picture

A couple of thoughts.

a) Only collect one of the fields and make it a entity reference field. This would reference content of type course which would hold both the course code and title. You can then configure the field so on display it shows the entity. I like using display suite and a custom view mode to limit which fields I show. I am guessing this is the better choice because you can provide a link to the detailed course information as part of the display.

b) Use a hierarchical vocabulary and the hierarchical select module.

babali’s picture

Sorry for late response.. Point a) would be simplest solution for me. Now, my concern is, my client has already entered some 1000s data and I have created two separate vocabulary for "Course Code" and "Course Title".

If you still think I can transform it to Node that it would be WOW! still, with bit complication for me with your point b), I am very much thankful for your precious suggestion.

Do you want to suggest me further ??

Best Regards,
Santosh