Support » Plugin: Contact Form DB » Database entries – form validation

  • Hi!

    I would like to know if it is normal that the database is filled even if the valadation returns error… example :
    The field name is required, so if I forget to put my name and I press the submit button I have an alert that says, Please entre your name. Ok, so I enter my name and submit again… now I have registered correctly.
    When I go to see the database… I have 2 entries… One without the name and the other with the name!
    Is it possible to do not write in the database if the submission form is not all validated?

    Thanks!

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    This is not something the CFDB can control. It is really at the mercy of the form plugin (CF7 for example) to notify listeners that a valid form is submitted. When CFDB gets notified, it has no knowledge of whether or not there were validation issues. It just assumes it is OK and saved it to the DB.

Viewing 1 replies (of 1 total)
  • The topic ‘Database entries – form validation’ is closed to new replies.