askche Posted February 14, 2013 Report Share Posted February 14, 2013 Hi, On a update form, is there a way to let a field automatically look up a table and return a value based on the inputs on two other fields? Ultimately, I want to insert the looked up value into the name of another field to ask another question. Thank you in advance for your help! Quote Link to comment Share on other sites More sharing options...
0 casyana Posted February 16, 2013 Report Share Posted February 16, 2013 Could you, please, elaborate? It sounds like a cascading form element, isn't it what do you need? http://howto.caspio.com/datapages/form- ... boxes.html Quote Link to comment Share on other sites More sharing options...
0 askche Posted February 16, 2013 Author Report Share Posted February 16, 2013 The cascading table can only look up values from one field, but I will need the field to look up a value from a table based on two fields. Quote Link to comment Share on other sites More sharing options...
0 casyana Posted March 1, 2013 Report Share Posted March 1, 2013 In this case you need a JS to implement it. You may have two cascading hidden virtual dropdowns and you may populate another virtual dropdown with values which are present in both cascading dropdowns. With help of JS you can find which dd has less options and go through each each option in a loop and check (in another loop) if the same option is present in the second dropdown. And if yes, you need to add this option to your virtual dropdown. And on submit you may save this virtual dropdown value to the real field, which has to be hidden on the form. Quote Link to comment Share on other sites More sharing options...
Question
askche
Hi,
On a update form, is there a way to let a field automatically look up a table and return a value based on the inputs on two other fields?
Ultimately, I want to insert the looked up value into the name of another field to ask another question.
Thank you in advance for your help!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.