Hidden Date Field

Home Forums Quform WordPress Hidden Date Field

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  lawrencepepper 5 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23767

    lawrencepepper
    Participant

    I am using a form which inserts its fields into the WordPress database. I have a custom table made for all the results to go in. One of the fields in my form is a hidden field named date. When the form gets submitted I have Quform enter {date} for this field from the insert variable chooser into the database. Every time it inserts the date into my database it show up as 0000-00-00. In the general settings of Quform I have the PHP date format set to Y-m-d and the JS format set to yyyy-MM-dd.

    How can I get this to work. Database is MySql.

    What I am trying to accomplish is to Date stamp when a form get’s submitted into my custom table.

    #23805

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #23812

    lawrencepepper
    Participant

    Thanks! That worked!

    L

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.