• Resolved jefromcanada

    (@jefromcanada)


    Smartforms used to work perfectly on this site (there are actually two separate forms and both stopped working). It might be somehow related to Javascript, because certain fields that should appear after filling out other fields are not appearing. In the LIVE version of the form, except for missing the fields that should be popping up in response to other answers, this form SEEMS to work (i.e. the workflow completes), but at the last page, I get an “invalid submission” message. When I go into SmartForms and try to PREVIEW the form, it appears to ignore my conditional logic statements, showing me a workflow that is totally different than the workflow I see in the deployed form (and in PREVIEW mode, the form doesn’t work at all).

    I’m going to try running the form on Chrome with the console turned on to see if I’m getting any useful errors.

    Update: Form submission appeared to work with Chrome but failed with Firefox.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jefromcanada

    (@jefromcanada)

    Further information. The submission worked while using Chrome with the F12 (Console) working. When I went into the form editor (using Chrome) and tried to PREVIEW the form, it didn’t work properly. A field that should have appeared after clicking a choice in a radio button did not appear, and when I clicked the NEXT button, several pages of the form were skipped (probably because that hidden field on screen 1 didn’t appear).

    UPDATE: It appears there is a recently installed plugin on my site that is interfering with Smart Forms, but I’m still confused. When I disabled the other plugin, the SmartForm works in LIVE MODE, but in test mode, it still doesn’t seem to be working.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello the invalid submission error occurs when WordPress is unable to verify the security token, this can happen due these reasons:

    1.- The form is kept open for hours and then submitted which will invalidate the security token and won’t let the submission to pass.
    2.- The users open the form, then in another page they log in or log out of your site and then submit the form before refreshing the page that has the form. Logging in or logging out would also invalidate the wordpress security token which would also cause this message.
    3.- Your site is configured to have a very small lifespan for the security token which would make make users that don’t submit the form fast enough to experience this message.
    4.- You have a cache plugin that is caching the whole page for several days (including the javascirpt variables) which would cause the plugin to use an outdated plugin

    So to fix it you could try:
    1.- Increase the life span of the nonces, you can add this filter in the wp-config file of your site apply_filters( ‘nonce_life’, $day_in_seconds ); replace $day_in_seconds with a number which should be the number of seconds that you want it to last (so for example 172800 would last 2 days).
    2.- Disable any cache plugin that you have and see if the error goes away, it this is the case then the problem is that the cache plugin is also cacheing the security token
    3.- As a last resort you could disable the security validation by opening the file smart-forms-ajax.php and remove these lines:

    if(!wp_verify_nonce($nonce,’save_form’))
    {
    echo ‘{“message”:”‘.__(“Invalid nonce, please refresh your screen and try again.”).'”,”refreshCaptcha”:”n”,”success”:”n”}’;
    die();
    }
    ?
    Again this would be just the last resort as removing this would make the plugin to not check if the form submission comes from a valid source.
    ?

    Hello, all my SmartForms have stopped sending email notifications for the past week or so. It is because a recent plugin is faulty? All I have done is update the SmartForm pluggins and now they don’t work. Any ideas?

    Update: All my SmartForms have stopped sending email notifications, the “send a test email” function in Smartform does not work, and the “Email Doctor” feature does not work. Are these issues from a recent plugin, or the new WP release, or something else? Please help. Thank you…. Dave

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Smartforms has stopped working’ is closed to new replies.