Mo
Posts: 0
Joined: Thu Jun 07, 2012 2:43 pm

Checkboxes only provide last checked box to REST request?

I have a checkbox item populated by a response from a REST request. That part works great, checkbox shows up for every item. But when I map it back out for another REST request, it only sends the last checked box in the list. How do I send the info for each of the checked boxes?

Thanks, working great most of the way!!

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

Checkboxes only provide last checked box to REST request?

You should get an array of all value selected:

Image

Mo
Posts: 0
Joined: Thu Jun 07, 2012 2:43 pm

Checkboxes only provide last checked box to REST request?

Can you show me your mapping on that?

Thanks

Mo
Posts: 0
Joined: Thu Jun 07, 2012 2:43 pm

Checkboxes only provide last checked box to REST request?

That's the way I have it mapped, but it really is sending only the last item checked. I'm populating the checkbox from a REST response. Could that have an effect on this? I've tried mapping it everyway possible.

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

Checkboxes only provide last checked box to REST request?

In the JavaScript function, add this code:

console.log(value);

and then check in Console what you get.

Return to “Issues”