Dropdown Field in REST Call
How do you get the value of a drop down in a REST query....I have been trying the--- return '{"text":"'+value+'"}';----but it is not working, I assume that only works for input fields, not dropdowns? Any ideas?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How do you get the value of a drop down in a REST query....I have been trying the--- return '{"text":"'+value+'"}';----but it is not working, I assume that only works for input fields, not dropdowns? Any ideas?
The attributes are missing in the mapping for drop down menu but will be added tomorrow. Try via JavaScript:
code
Tiggzi('dropdown_name').val();
/code
"Selected" was not added---when I map the value field to it, it doesn't work. Will Selected be added too?
Can you post a screen shot of your mapping?
I don't see a drop down in your mapping.
Sorry, I didn't mean a drop down (i see that has been fixed)--i meant a checkbox array. I need to be able to map the "Selected" check boxes to the order array. I was able to do it in the flash editor...
Got it..you can use JavaScript to read the values. We'll add the selected property in mapping.