• Resolved db03

    (@db03)


    Hi,

    I’m trying to complete my first submission. I have created my token, linked it to the table, and mapped my fields, but no modifications are being made to Airtable. When I submit, an error message pops up saying: “Due to an error, your message could not be sent. Please try again later.”

    Things I’m wondering about my configuration that might be the cause:

    • I use an additional parameter in my contact form, but it doesn’t seem to make a difference (I tried with and without skip_mail:on but I prefer to skip if possible).
    • Not all form fields are mapped since they don’t exist in Airtable, which I don’t need stored.

    Any help would be highly appreciated.

    Thank you in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WP connect

    (@wpconnectco)

    Hi,

    Thank you for reaching out to us,

    Could you please send me screenshots of :

    – the mapping configuration you made
    – the admin configuration and public view of your CF7 form?
    – the list of the attributes on your Airtable Database

    Then, can you send me a video using Loom where the error appears?

    It will help me better understand where the problem comes from.

    Thanks

    Kind Regards,

    Cristian
    WP connect Support

    Thread Starter db03

    (@db03)

    I encountered an issue while using Contact Form 7 (CF7) with your plugin. I noticed a fundamental difference in how CF7 fields are handled. I use the Dynamic Text Extension (DTX) for my form, which may be causing compatibility issues with your plugin.

    To troubleshoot, I first tried using regular CF7 field types with the “class=hidden” attribute, along with a custom function to populate these fields before sending the email. However, this approach did not resolve the issue. I then tested with a simple, regular CF7 form, but the problem persisted.

    Interestingly, I also noticed an error message that I did not configure in the message tab. This raises questions about the source of the error. Do I need to configure an SMTP server for your plugin to work properly? I recall testing this a few months ago without any special configurations, and it worked fine.

    I would appreciate any guidance or documentation you can provide to help me resolve this issue. Thank you for your assistance.

    Thread Starter db03

    (@db03)

    @wpconnectco, where can I send the screenshots? Do you have an email address?

    Thread Starter db03

    (@db03)

    I found this function in the entry.php file:

    function save_wpcf7_entry_in_airtable_table( $contact_form, &$abort, $submission ) {
    
    ? ? $service = WPCF7_Airtable_Service::get_instance();
    
    ? ? if ( ! $service->is_active() ) {
    
    ? ? ? ? return;
    
    ? ? }
    
    ? ? if ( $contact_form->in_demo_mode() ) {
    
    ? ? ? ? return;
    
    ? ? }
    
    ? ? $consented ? ? ? ? ? ?= true;
    
    ? ? $optional_consent_tag = false;
    
    ? ? foreach ( $contact_form->scan_form_tags( 'feature=name-attr' ) as $tag ) {
    
    ? ? ? ? if ( $tag->has_option( 'consent_for:airtable' ) ) {
    
    ? ? ? ? ? ? if ( $tag->has_option( 'optional' ) ) {
    
    ? ? ? ? ? ? ? ? $optional_consent_tag = $tag;
    
    ? ? ? ? ? ? }
    
    ? ? ? ? ? ? if ( null === $submission->get_posted_data( $tag->name ) ) {
    
    ? ? ? ? ? ? ? ? $consented = false;
    
    ? ? ? ? ? ? }
    
    ? ? ? ? ? ? break;
    
    ? ? ? ? }
    
    ? ? }

    if (is_wp_error($response) || $response->error) {
    
    		$error_message = $response->message;
    
    		// Display error
        	$submission_response = __("Due to an error, your message could not be sent. Please try again later.", 'add-on-cf7-for-airtable');
    
    		// If there is an optional consent tag, let the user know he can uncheck it.
    		if ( $optional_consent_tag ) {
    			/* translators: %s: consent checkbox text */
    			$submission_response= sprintf( __("Due to an error, your message could not be sent. Please try again later or uncheck.", 'add-on-cf7-for-airtable'), $optional_consent_tag->content);
    		}
        	$submission->set_response($submission_response);

    Is it related to the $optional_consent_tag? If so, where do i add it or better where to remove it?

    Plugin Author WP connect

    (@wpconnectco)

    Hi,

    You can send me the screenshots to my mail : https://revealit.secupress.me/fr/uhjjgybmp9ufrn77w2ob4lnqv88hz4wfea0ek2kicm0aztq3ycdsodxs13x9i615

    Kind Regards

    Cristian
    WP connect Support

    I have the same issue, emails not being sent and Airtable entries not generated. How can I help? I gave the token all possible permissions, but no change to the outcome. Same message as OP.

    • This reply was modified 6 months, 4 weeks ago by nzstefan.
    Plugin Author WP connect

    (@wpconnectco)

    Hi,

    Could you send me the same screenshots and a video on loom to my mail : https://revealit.secupress.me/fr/mkgs9w1frti2s4b0py7cijhtacvulho51yfne6mowe203xv6zu39zrg58dqkqap7

    Kind Regards,

    Cristian
    WP connect Support

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help! Data is not being recorded in Airtable.’ is closed to new replies.