Page 1 of 1

Select dropdown posting only first value

Posted: Wed Oct 22, 2014 8:11 pm
by Alan Smith

I have a select dropdown list, which sends the selected value to a database via a REST service

But whatever option is chosen, it only submits the first value in the list. I've deleted it and recreated it a few times and tried everything but it just keeps posting the same first value.

Any ideas why this is happening?


Select dropdown posting only first value

Posted: Thu Oct 23, 2014 3:39 am
by Yurii Orishchuk

Hi Alan,

Please check your implementation with following plan:

1 Activate select component and click on "Options-change". http://prntscr.com/4ytwv6/direct

  1. You will see here view-value options. So all "values" should have different values. http://prntscr.com/4ytx5j/direct

  2. Open your "update/create" service mapping.

  3. Create link "select component_selected-yourFieldName". http://prntscr.com/4ytxma/direct

    Regards.


Select dropdown posting only first value

Posted: Wed Oct 29, 2014 10:48 am
by Alan Smith

Hi

I have checked the above and everythign looks ok. The select is not dynamically created from a database, it is simply 3 options that have been input manually. I've attached a screen shot of the select options. Image

I have also attached the mapping from the button to the REST request which is sent to a script. This is where the same value 'On Scene' is being sent all the time.
Image


Select dropdown posting only first value

Posted: Wed Oct 29, 2014 4:14 pm
by Alan Smith

I see what I did wrong, i didn't map from the 'selected' option. So its working now.


Select dropdown posting only first value

Posted: Wed Oct 29, 2014 4:18 pm
by Evgene Karachevtsev

Hello Alan,

Thank you for the update, glad it works!