How to pass values of checked boxes to another page?
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.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
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.
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)
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).