Editable fields changes based on users selection
Editable fields changes based on users selection
JohnEditor
Posts: 4Questions: 1Answers: 0
Is it possible to implement editing where editable fields are based on some selection? For example, if I have dropdownlist of Vehicles where I have: Car, Motorcycle, Truck. And based on that selection I want to show different fields for each vehicle. For example if user selects car I would like to show "number of doors", "model of car"... and other car specific details. And if user selects motorcycle I want to show some motorcycle specific questions and so on...
This discussion has been closed.
Replies
Hi,
Absolutely! The
dependent()
method is the key one to use here. There is a full description of how to do what you are looking for in this blog post.Regards,
Allan
That's what I was looking for. Thank you!