Alan Smith
Posts: 0
Joined: Tue Jun 10, 2014 4:59 pm

Select dropdown posting only first value

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?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Select dropdown posting only first value

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.

Alan Smith
Posts: 0
Joined: Tue Jun 10, 2014 4:59 pm

Select dropdown posting only first value

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

Alan Smith
Posts: 0
Joined: Tue Jun 10, 2014 4:59 pm

Select dropdown posting only first value

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Select dropdown posting only first value

Hello Alan,

Thank you for the update, glad it works!

Return to “Issues”