• Resolved kayl3y

    (@kayl3y)


    Hi there!

    One of my forms submit button is not working – like it’s not even clickable. This is the only form I have the issue with. Not sure what it is or even what other context I can provide for you with it!

    Any thoughts what it may be?

    Thanks!
    Kayley

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

Viewing 15 replies - 16 through 30 (of 32 total)
  • Thread Starter kayl3y

    (@kayl3y)

    I would like a checkbox (similar to your new GDPR checkbox) present on this form but not on the front page form – I couldn’t figure out how to limit when your GDPR checkbox is visible on which forms so I had tried to do it through mailchimp…which didn’t work! haha – is there a way to have the GDPR checkbox on only 1 form but not another?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Agh, I understand. You have a few options.

    (1) You could create a new Easy Forms form based on your same MailChimp list. On this second form, you don’t add the OPTEDIN field at all. (And you keep your existing form on the homepage as it is). OR, you add the field on the second form but you don’t make it required.

    (2) You could also use our GDPR plugin and add a filter function that removes the GDPR checkbox from a certain page. Unfortunately we don’t have this option built-in to the plugin yet (although we do plan on having it in the future) but here is the code that would remove the checkbox from your Contact Us page:

    // Remove the GDPR checkbox from a specific page
    add_filter( 'yikes-mailchimp-eu-compliance-checkbox-text-html', 'yikes_mailchimp_remove_GDPR_checkbox', 10, 1 );
    
    function yikes_mailchimp_remove_GDPR_checkbox( $checkbox_text ) {
    	global $post;
    
    	// Remove checkbox from /contact-us/ page (ID = 3155)
    	if ( $post->ID === 3155 ) {
    		return '';
    	}
    
    	return $checkbox_text;
    }

    Let me know if either of those would work and if you need any help moving forward with them 🙂

    Thread Starter kayl3y

    (@kayl3y)

    Ok – so for the first option, I actually do have a separate form I’m using there that does not include the OPTIN in the fields (it’s an option based on the form fields in MC but I’ve not added it into this form). So I don’t think that works because I run into the same issue…

    I’ll try the code – but confirming, this is for whole site CSS not single page (I’ll just reference single page in the code)?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hey sorry about the delay Kayley I left the office a few minutes before you sent that.

    You’re right: you’re definitely using two separate forms based on the same MC list.

    When I looked at your form on /contact-us/ yesterday, the checkbox appeared to be added to the form and set as hidden. You’re sure this was not the case? I don’t know how the field would be present on the form if it wasn’t added…

    Let me know if you have time to debug this today. I’d like for you to remove the OPTIN field from your 2nd form (/contact-us/) and let me know so I can check it out. I don’t want your form to be unusable in the meantime though so we should coordinate it.

    Thread Starter kayl3y

    (@kayl3y)

    Hi Kevin! Sorry for the delay – I was in full day client meetings but I can do this today, tomorrow or Friday!

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Kayley. I’m around today if you are. Let me know.

    Thread Starter kayl3y

    (@kayl3y)

    Hi Kevin – sounds good. So do you want me to remove the optin field now?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Sure!

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Kayley, I need to leave soon so please let me know 🙂

    Thread Starter kayl3y

    (@kayl3y)

    Ok – done.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    I’m seeing the Easy Forms checkbox present on the form and no OPTEDIN field. Is this what you wanted?

    Thread Starter kayl3y

    (@kayl3y)

    Ideally, I wanted the OPTEDIN field so I can track who has opted in from this form or not (vs. the other form on the home page) so I tried this but this will not let visitors submit the form without checking the box (which is not what I want – this should be optional).

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Understood. Can you deactivate our GDPR plugin and then add the OPTEDIN field to only the form on your homepage?

    Thread Starter kayl3y

    (@kayl3y)

    Done! 🙂

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Kayley,

    I just tested both forms and they’re both working perfectly. I don’t know what was going on before but you should be good to go now.

    The only thing to note is that you may want to change your OPTEDIN field from a text field to a checkbox.

    Cheers,
    Kevin.

    P.S. I subscribed to both lists and will be unsubscribing shortly. Hope that doesn’t throw off anything with your lists.

Viewing 15 replies - 16 through 30 (of 32 total)

The topic ‘Form not submitting’ is closed to new replies.