Luci Emilian
Posts: 0
Joined: Wed Feb 05, 2014 9:55 am

Mapping field rest service (value 0 and 1) to a checkbox !!!!

how can i map a field from rest service ( value 0 - uncheked , value 1 - cheked) to an checkbox and make this visible checked/uncheked ?
It works only if in design mode when check Selected or uncheked this .

Luci Emilian
Posts: 0
Joined: Wed Feb 05, 2014 9:55 am

Mapping field rest service (value 0 and 1) to a checkbox !!!!

When the value from field come with the value 0 or 1 then the checkbox must be
uncheked / checked .
Can make this in Add JS in response of the service on field value ?!!!
Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mapping field rest service (value 0 and 1) to a checkbox !!!!

To set checkbox=checked/unchecked just pass using mapping to checked attribute false or true value from service response. You can also handle data using JS.

Luci Emilian
Posts: 0
Joined: Wed Feb 05, 2014 9:55 am

Mapping field rest service (value 0 and 1) to a checkbox !!!!

Thank you very much.
That was what I needed.

To have a good day !

Return to “Issues”