hello
I can not save my data via a form in the database or when they are stored they have 0 as value
can someone help me?
thank you
Hi nico77,
Please check the database tutorial from the Tutorials link above.
You need to know that is the latest release when you use Create Table the *red* bars are **not selected** click to change them to *green8.
Bob
they are just green.
is it because I want to do the registration without sent email ?
Hi nico77,
Only if you have the DB Connection set to Before Email (that won't work unless Send Emails is enabled on the form General tab).
Bob
So if I understand it is not possible to record data without receiving email?
Hi nico77,
You can record data without receiving email.
Make sure that the DB Connection is set to After Email.
Bob
ok, it works
why should we put after sending email ?
I have another question:
records are correctly if I create tables with chronoforms (there were so cf_id fields, uid, recordtime, ipaddress, cf_user_id) but if I use a table without this fields that doesn't work. Is this normal?
I want to use a database created with non chronoforms (and therefore do not have these fields), is it possible?
Hi nico77,
a) Because if 'Send Email' isn't set to 'Yes' (regardless of whether there are any emails set up), then the OnSubmti Before code and a DB Connection set to Before Email are *not run*.
b) Your database table must have a primary key, none of the other columns are required.
Bob
they have a primary key but in the database the type of fields are year(4) and I try to enter letter ... :?
My problem is now :
I set the field in chronoforms to date and I changed the setting that is "d/m/Y" in "Y".
But when I want to enter a year,
but when I write one year in the form, I have an error because I have to put a date format d/m/Y.
Do I have to put the field to number with maxsize=4 ?
Hi nico77,
You can add PHP in the OnSubmit boxes to re-format the form results if you need to.
Bob