Buy Now
Sign in

Dropdown allow addition

rafaelscouto , March 12 at 12:00
R
rafaelscouto 82
March 12 at 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 25.9
March 14 at 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 82
March 15 at 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 5.0
March 15 at 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 don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums