vendredi 19 avril 2019

creating a checkbox with t list item and add to collections

Hi i am trying to create a checkbox list from database table for example i have number of options of Drinks and salads i want to let user select the item and specify the quantity and both values should be add in collections.

Please check image of sample check box

https://drive.google.com/open?id=1_8WtTgYjgC8ySiNZWNgzouIlUE6zgj2L

Scenario

Source of Checkbox list is a Table For example check box Label will be Come from table but quantity will be specified on runtime to save in collections.

If i create using htp.p by checkbox tag then it will be definitely rendered on run time how i would access the values of both to add as member in collection




Aucun commentaire:

Enregistrer un commentaire