Skyforum Posted September 4, 2012 Report Share Posted September 4, 2012 Is it possible to create a cascading dropdown from an autocomplete entry? If not, why? Quote Link to comment Share on other sites More sharing options...
0 HongTaiLang Posted September 5, 2012 Report Share Posted September 5, 2012 Cascading dropdown doesn’t work if the parent field is an “autocomplete†or a “textfieldâ€. It can be achieved by coding 1. Create a field(FieldName1) as text type for inserting 2. Insert a HTML Block. For passing the parameter, create a button to trigger <button id="button" type="button">Click Me!</button> 3. Create a virtual dropdown field(cbParamVirtual1) as "Hidden" to receive the value from the previous field, this is the parent dropdown 4. Create a Cascading Dropdown to pull the related values 5. Insert the following code to pass the value from Text field to Virtual Dropdown field. <script> function drop(){ document.getElementsByName('cbParamVirtual1')[0].value = document.getElementsByName('FieldName1')[0].value; document.getElementsByName('cbParamVirtual1')[0].onchange(); } document.getElementById("button").onclick=drop; </script> Quote Link to comment Share on other sites More sharing options...
0 NailDyanC Posted October 26, 2018 Report Share Posted October 26, 2018 Hi, To add some information from the previous comment above, Cascading autocomplete is now available in the standard feature of Caspio. You can refer to this link: https://howto.caspio.com/datapages/datapage-components/cascading-elements/ Cheers, @NailDyanC Quote Link to comment Share on other sites More sharing options...
Question
Skyforum
Is it possible to create a cascading dropdown from an autocomplete entry? If not, why?
Link to comment
Share on other sites
2 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.