Viewing 9 replies - 1 through 9 (of 9 total)
  • Under HTML Forms > (your form) > Settings, it the setting to Save form submissions set to Yes?

    If it already is and it’s still not saving, maybe your Database tables aren’t created properly. This happens when you roll back database backup from before you installed HTML Forms for example. You can solve that by deleting the HTML Forms plugin and then installing it again.

    Kind regards,

    Thread Starter xCelestialx

    (@samvel45)

    Thanks for answer. I’ll try.

    Thread Starter xCelestialx

    (@samvel45)

    Yeah reinstallation worked. Thank you very much.

    I’m experiencing the same issue, I’ve followed the advice to uninstall/reinstall with no joy.

    My setup: Bedrock, Roots/Sage 10 with log1x/sage-html-forms

    When the form is submitted I’m getting a successful response however no submission is recorded and no email is received, even though an action has been added.

    Things I’ve checked:

    – That wordpress can send email by resetting the password via the password reset form.
    – That the submissions table has been created in the db.
    – Tried unchecking and rechecking the save submissions option.

    I’m going to try and work through this myself to fix the issue but posting here just incase there’s any insight available from the devs ??

    Can you install Query monitor, and then submit a form and see if there is any error shown by query monitor?

    I’ve got query monitor installed and there’s nothing in there

    In the network tab of inspector I’m getting this response from /wp/wp-admin/admin-ajax.php?action=hf_form_submit : https://paste.pics/IMSL3

    Please send a link to this thread to support at htmlformsplugins.com

    After digging through the code I found the solution!

    The sage-html-forms package overrides the html of the form, to allow developers to define the form markup in code. In addition I’m using sage’s “Composers” to dynamically generate the form data. This is a problem because the plugin uses the markup to find the number of fields the form contains and this dynamically generated data isn’t available when the validation occurs so validation fails because of the check within validate_form (line 105 of class-forms.php) method:

    count($data) > $form->get_field_count()

    However, after realising this was the issue I also noticed that it was possible to disable checking the request size through hf_validate_form_request_size which fixed my issue and allowed the form to be submitted.

    Thanks for sharing!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘no form submissions save at all’ is closed to new replies.