Add checkbox value to database and send to email.

Hi, I am a newbie in coding but i am willing to learn.

I am creating a food catering page where users can click on the checkbox (food item selection) and fill in some contact forms. After hitting submitting the ‘submit’ button the data from the selected checkbox and all data of the forms to be sent to an email and my database. How do i go about doing this?

PS: I know nothing about coding, so it would be great if anyone could guide me step-by-step. Thank you in advance.

Hi,
Welcome to Wix Code.
I Would recommend to start with learning javascript. their are a lot of online tutorials.
After that I would go with this tutorial:
https://www.wix.com/code/home/tutorials-custom-form
Once you are done with that you can search for a lot of information in this forum.
Good luck!
Roi.

Hi ROI,

Thanks for the super fast response. I have view it multiple times. I have managed to link the to the dataset. But i could not get the checkbox value to be keyed into my database. Please help.

Thank you in advance! God bless you!

Hi Mohamad!

Checkboxes in nature are of boolean type, which means they hold the value of True/False.
Use that feature and this article to achieve your goal.

Best of luck!
Doron. :slight_smile:

Is there other ways to do that allowing users the ability to select from a list of preset items, and drop it into the database items (not as a tag or boolean type)?