Checkbox-x and Yes

Web Tips Q & ACategory: Krajee PluginsCheckbox-x and Yes
dmarkwa asked 2 weeks ago

Love this library. Big help. Here is where I need some help. Right now, the checkbox-x returns 1 or zero. All my code looks for yes, i.e. if checked the value is “yes”. the documentation says that I can set the value returned. My newby state can’t figure that out. my code is…
 

</div>
 
how do I set this up so that checking the checkbox returns “yes” ?
 
Thank you so much. 
 
 

dmarkwa replied 2 weeks ago

very sorry for the double posting. When I submitted, I got a blank screen. Very sorry.

dmarkwa replied 2 weeks ago

Let me repost code another way…

dmarkwa replied 2 weeks ago

data-toggle=”checkbox-x” data-three-state=”false” data-size=”xl” type=”checkbox” value=”yes” class=”form-check-input” id=”eligible” name=”eligible”

dmarkwa replied 2 weeks ago

data-toggle=”checkbox-x” data-three-state=”false” data-size=”xl” type=”checkbox” value=”yes” class=”form-check-input” id=”eligible” name=”eligible”

Login or register to contribute or comment.

Login   Register