Link between two fields in the selection
Link between two fields in the selection
nico077
Posts: 55Questions: 14Answers: 2
In the example of datatable editor, I have the first_name and the last_name.
There are 2 people named Butler (Hermione and Unity).
If i select Butler in the last_name field, I only want to display Hermione and Unity in the first_name field.
My question : Is it possible to link 2 fields on a selection ?
Best regards,
Nicolas
This discussion has been closed.
Answers
Hi Nicolas,
I'm afraid I'll need a little more information, and ideally a link to the page showing the issue please. Are you using inline editing, or bubble editing or something else? Are there dependent fields?
Allan
Thank you for your answer.
Yes I think the dependent() function is the solution to my problem.
I have two filters (example : first_name and last_name).
When the user select the last_name, the first name is automatically update with the list of fist_names corresponding to the last_name.
I show the example with the show/hide (Editor example Dependent fields) but it doesn't answer my problem.
Best regards,
Nicolas
Hi Nicolas,
Can you give me a link to the page you are working on please. I'm afraid I still don't really understand the issue.
Allan