Buy Now
Sign in

Dropdown allow addition

rafaelscouto , March 12 2019, 12:00
R
rafaelscouto 149
March 12 2019, 12:00 #384764
Good Morning

I really liked this new feature of the "allow addition" dropdown.

I have two dropdowns, the second one reload according to the choice of options of the first, except that with this new addition feature, the second dropdown does the reload and returns no value.

I'd like to sort this out. When using this addition feature, generate a fixed option in the second dropdown.

I hope you have understood haha
admin 27
March 14 2019, 19:03 #384847
Hi Rafael,
The added text will be passed as the dropdown value in the data array (as if it was an option), you can use that value to build the desired options for the 2nd dropdown!
Best regards
Max
If your main question got answered then please mark the answer using the button!
Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
R
rafaelscouto 149
March 15 2019, 17:58 #384882
I understand.

But when a new addition occurs, the 2nd dropdown is reloaded and returns no value, is left blank.

I wanted to reload show a value determined by me
healyhatman 7
March 15 2019, 22:41 #384891
How do you determine what gets shown in that second dropdown? Because I'm betting you haven't accounted for the added value not existing. Like you've only checked for dropdown1 being A or B, and haven't set it up to properly handle the user typing in C
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store