This topic is locked
[SOLVED]

 Trapping iPhone Checkbox changes

4/10/2014 7:19:24 AM
iPhoneCheckbox plugin support forum
P
Phil_G author

Hi
I have an edit form with an iPhone CheckBox control on it. I need to trap changes to the checkbox to hide/display other fields on the page.

For testing I have added
chkbox.on('change',function(e){

window.alert(this.getValue();

});
When this runs I only get the 'on' value.
Any ideas why that might be?
Thanks

M
MarcS 6/2/2014

I too am having this problem.
Sergey, could you please explain how to access the value in JS?
Thanks!

admin 6/4/2014

Download the latest version of iPhoneCheckbox template from the marketplace, getValue() function was added there.

M
MarcS 6/4/2014



Download the latest version of iPhoneCheckbox template from the marketplace, getValue() function was added there.


Sergey, Thanks tons... But,I only see functionality to buy it again, not just download it again. Where exactly to I go for that?

admin 6/4/2014

Logon, then click on your username at the top right corner and then 'My purchases'.

I
iVoteSize 1/24/2015

How is getValue used in conjunction with click/change trigger (example of jQuery syntax)?