Page 3 of 3

How to pass values of checked boxes to another page?

Posted: Sat Jul 11, 2015 9:17 pm
by Illya Stepanov

Hi Nisa -

Please follow Yurii recommendations above, you will need to read values of selected boxes, after that store them in local storage and pass them to DB service update invocation.


How to pass values of checked boxes to another page?

Posted: Sat Jul 11, 2015 9:35 pm
by Nisa Khalid

this is my code,please check it for me and the next step i have to do?
var name_arr = [];
checkboxgroup = $('[name="chckbox_4yo"]');
for (var i = 0; i < checkboxgroup.length; i++)
{ console.log(i);
var currentCheckBox = jQuery(checkboxgroup);

if (currentCheckBox.length === 0)
{
alert("Please select a category!");
return;

}

else if (currentCheckBox.length 3 )

{
alert("do not choose more than 3!");

}
else
{
Apperyio.navigateTo("UploadPage", {});
}

Code: Select all

 var currentInput = currentCheckBox.find("input"); 
 name_arr[i] =  
 { 
     "name": currentInput.val(), 
     "value": currentInput.prop("checked") 
 }; 

}

Apperyio.storage.nameArray.set(name_arr)


How to pass values of checked boxes to another page?

Posted: Sun Jul 19, 2015 9:54 am
by Alena Prykhodko

Hello Nisa,

Unfortunately this is something outside the scope of standard Appery.io platform support.

Please try to debug your project http://devcenter.appery.io/documentat...

You may consider purchasing Advisory Pack to get more in-depth help on this question. Here is more information about Advisory Pack (http://appery.io/services/#Advisory_Pack).