Best way to : Update drop-down depending on multiple field values?

Confluence User - 22 Nov, 2018

Hello everyone,

I have a drop-down "Interpretation" that, if not filtered would take its values from:

"select id, c_long_description from app_fd_config_preids"

I then have 4 fields A, B, C, D and I would like to filter my "Interpretation" in order to do:

"select id, c_long_description from app_fd_config_preids where field1 = A and field2 = B and field 3 = C and field4 = D"

What is the best way to do that? I was using Ajax to send a query with a unique dependency value, but how to manage 4?

Thanks a lot,

Baptiste

 

forms

3


23 Nov, 2018
confluenceUser
confluenceUser

Hi, if you require such custom behavior I think you can use custom JavaScript in your form. Add a Custom HTML element into your form and add your custom JavaScript in a <script> tag.

07 Dec, 2018
confluenceUser
confluenceUser

Is there a way to use more than 1 "Field ID to control available options based on Grouping"?  I'm talking about when using AJAX option enabled. 

08 Aug, 2020
confluenceUser
confluenceUser

Hi Anders, do you have any example or sample code for this problem?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print