What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How Do I Send Date and Checkbox Details to Database?Asked by kmacharia on December 14, 2015 at 12:57 AM
Hi, I'm working on a form that i have hosted on our domain and i want to send the submit to mysql db.
I'm getting this notice Notice: Undefined index: q14_dateOf14[year]
same thing for the checkbox and one of the select.
I urgently need to get it working. Please help
<li class="form-line form-line-column form-col-1" data-type="control_checkbox" id="id_1352">
<label class="form-label form-label-top" id="label_1352" for="input_1352"><strong> Cereals </strong> </label>
<div id="cid_1352" class="form-input-wide jf-required">
<span class="form-checkbox-item" style="clear:left;">
<input type="checkbox" class="form-checkbox" id="input_1352_0" name="q1352_cereals" value="Maize" />
<label id="label_input_1352_0" for="input_1352_0"> Maize </label>
$dob = $_POST['q14_dateOf14[year]']."-".$_POST['q14_dateOf14[month]']."-".$_POST['q14_dateOf14[day]'];
$cereals = $_POST['q1352_cereals'];
$roots = $_POST['q1353_rootsOr1353'];
There is an easy way to send your data to your database. With "Webhooks" integration, you can easily send Post Data like setting a custom Thank You Page URL.
Below, you will find a guide about how to do it:
Also, you can get more information about JotForm Webhooks integration:
If you still want to use advanced method, there is also a guide about it:
For further assistance, always feel free to contact us.