Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Dropdown Field in REST Call

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

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Dropdown Field in REST Call

"Selected" was not added---when I map the value field to it, it doesn't work. Will Selected be added too?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Dropdown Field in REST Call

Can you post a screen shot of your mapping?

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Dropdown Field in REST Call

I am able to do it in the flash based editor, but not the HTML 5 editor...I am trying to create an array from the Mobile CheckBox1_8 selections to "Order"...Again, it works when I create it from the Flash Editor, but not from the HTML5

Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Dropdown Field in REST Call

I don't see a drop down in your mapping.

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Dropdown Field in REST Call

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...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Dropdown Field in REST Call

Got it..you can use JavaScript to read the values. We'll add the selected property in mapping.

Return to “Issues”