Page 2 of 3
How to pass values of checked boxes to another page?
Posted: Sun Nov 03, 2013 3:50 pm
by Branden
I appreciate your attention to my comment.
I think I'm all set with this issue. I'm now able to capture the values of the selected checkboxes, save them in a local array, and am able to retrieve those values on the next page.
Thanks for your assistance!
How to pass values of checked boxes to another page?
Posted: Tue May 05, 2015 1:36 pm
by Nisa Khalid
hi branden? may i have your email? i need some help from you
How to pass values of checked boxes to another page?
Posted: Tue May 19, 2015 9:13 am
by Nisa Khalid
how can i capture value of check box and want to save it in database collection?
How to pass values of checked boxes to another page?
Posted: Fri May 22, 2015 12:01 am
by Yurii Orishchuk
Hi Nisa,
You can get checked value with following JS code:
pre
//where "checkBoxName" is your checkbox component name.
var checkBox = Apperyio("checkBoxName").find('input[type="checkbox"]');
var checked = checkBox.prop("checked");
console.log("checked = " + checked);
/pre
Then you can pass this value to the update/create service in appropriate field.
Regards.
How to pass values of checked boxes to another page?
Posted: Tue Jun 23, 2015 8:23 am
by Nisa Khalid
can you give example how to pass the value using this code? i still don't get it
How to pass values of checked boxes to another page?
Posted: Wed Jun 24, 2015 4:02 am
by Yurii Orishchuk
Hi Nisa,
Here is common example:
1 Get value from checkBox.
2 Convert received value to to text that you want to store in DB and store it to the storage.
3 Add create/update service on the page.
4 Invoke service on the event you need(for example button click).
5 Open "Before send" mapping and link storage from 2nd step to needed request service parameter(where you want to store this information).
Please pass following tutorial to understand how to work with update/create services https://devcenter.appery.io/tutorials...
Regards.
How to pass values of checked boxes to another page?
Posted: Fri Jul 10, 2015 3:45 pm
by Nisa Khalid
how can i Convert received value to text?
How to pass values of checked boxes to another page?
Posted: Fri Jul 10, 2015 3:45 pm
by Nisa Khalid
how can i Convert received value to text?
How to pass values of checked boxes to another page?
Posted: Sat Jul 11, 2015 7:01 am
by Evgene Karachevtsev
How to pass values of checked boxes to another page?
Posted: Sat Jul 11, 2015 7:20 am
by Nisa Khalid
sorry i don't get it, my situation right now, i have a group of check box and the user are allowed to choose up to 3 box only.after the user have check the value i want to take the value and pun into database column named categoryName,in the column categoryName will store the item has been checked in the checkbox,any example of this?