WebSite X5Help Center

 
Nicole B.
Nicole B.
User

Adding date and time to contact form  en

Autor: Nicole B.
Visited 939, Followers 2, Udostępniony 0  

I created a contact form that sends the data to the database. How can I include the date and time of the submission of the form?

Posted on the
5 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
ANI B.
ANI B.
User

Hello Nicole,

Open Website X5>Go to that Page where you have created the contact form>Now double click on that contact form>Then Select 'Add' to add a new field>Then Choose 'Date' and do the required settings and save it

Hope this will help you

Thank you

Czytaj więcej
Posted on the from ANI B.
Nicole B.
Nicole B.
User
Autor

Thank you I do not see how I missed thatcool

Czytaj więcej
Posted on the from Nicole B.
Nicole B.
Nicole B.
User
Autor

Ok I just saw that, I dont want the user to select a date, I want it so use the sysdate.

Czytaj więcej
Posted on the from Nicole B.
John S.
John S.
User

Hello Nicole

You can in the admin panel for your MySQL database add a field to the table.

You let this field be a timestamp field.

Then the field will automatically be filled with the date/time of the time the form is submitted - without any intaraction from the form.

Czytaj więcej
Posted on the from John S.
Nicole B.
Nicole B.
User
Autor

Thanks I will research as to how to do that.

Czytaj więcej
Posted on the from Nicole B.