dimanche 17 mars 2019

How to render and pass data from checkboxes based on query result (JavaScript & EJS)

I am trying to display a range of checkboxes which represents available times. The results of a query provide data on which days need to be filled out, as well as each day's time ranges. Right now I am able to pass all necessary information to the front end, but I have no idea how to render the checkboxes for every time frame, or how to then pass the data from these boxes into a new method that stores which boxes were checked. This is how I picture the result: enter image description here




Aucun commentaire:

Enregistrer un commentaire