• Resolved mpukit

    (@mpukit)


    Hi,

    Great plugin – it does exactly what I need it to. I am having one small issue though:

    With the Dynamic Text option enabled – if I simply submit my form, it throws no errors, it just emails me the generic dynamic text values that are the field placeholders.

    Here is my code:

    [dynamictext* FirstName 24/22 class:field_cf7 "First Name"]

    Am I missing something simple here? I don’t want to be receiving tons of emails with generic form entries of First Name, Last Name…etc.

    Thanks in advance.

    https://www.ads-software.com/plugins/contact-form-7-dynamic-text-extension/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mpukit

    (@mpukit)

    In case it wasn’t clear – if I don’t enter anything and just click submit – the form goes through without errors that would usually come up in CF7.

    Thanks.

    I have the exact same issue.

    With an empty form, the spinner just keeps spinning, no validation seems to take place.
    When the form fields are filled, the form is sent.

    When debugging it throws the following error:

    Fatal error: Call to a member function message() on a non-object in /wp-content/plugins/contact-form-7-dynamic-text-extension/contact-form-7-dynamic-text-extension.php on line 256

    The function hasn’t changed at all in releases, and I have the exact same form running on Version: 1.0.4.2 and CF7 Version: 3.4.2 and it works, so after trying CF version 3.4.2 it works fine, so this issue comes from a recent update to CF7.

    I hope this can be fixed soon.

    Ok, the issue occurs only on the most recent version of CF7 – version 3.7. I have tried it with version 3.6 and it works as expected.

    So roll-back to version 3.6 ( the download is: https://downloads.www.ads-software.com/plugin/contact-form-7.3.6.zip ) and don’t update until this issue is fixed.

    Hi,

    The template recommed I use this plugin to get a type of room on my site, but I’m trying to install it and this error appear ever and ever:

    Fatal error: Cannot redeclare wpcf7_dynamictext_init() (previously declared in /home3/cvisual/public_html/pousadaoninho.com.br/salvador/wp-content/themes/guesthouse/Plugins/contact-form-7-dynamic-text-extension/wpcf7_dynamic_text.php:35) in /home3/cvisual/public_html/pousadaoninho.com.br/salvador/wp-content/plugins/contact-form-7-dynamic-text-extension/contact-form-7-dynamic-text-extension.php on line 50

    Help me, please.

    Plugin Author sevenspark

    (@sevenspark)

    Hi guys,

    It looks like the main plugin, CF7, changed the way it does things. In CF7DTX’s PHP file, you’ll see this line (for me it is 161)

    $result['reason'][$name] = $wpcf7_contact_form->message( 'invalid_required' );

    Try changing it to

    $result['reason'][$name] = wpcf7_get_message( 'invalid_required' );

    and see if that solves it. (Let me know ?? )

    @ricardo, please start your own thread when you have a question. That error seems to be occurring because the theme you are using is already including a version of this plugin within the theme itself (which is really not a good way of doing things). By installing the plugin you get a duplicate version, which causes the error.

    Hope that helps!

    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Form Doesn't Throw Any Errors (ever)’ is closed to new replies.