WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] How to add attribute to the submit button in CF7? (7 posts)

  1. maorb
    Member
    Posted 3 years ago #

    Hi,

    I use contact form7 for my contact form, and I want to add Google's tracking code on the button.
    I have to add to the submit button the code onclick="_gaq.push(['_trackEvent', 'Event', 'Button']);"

    I know how to do it with form I write myself, but how can I add an attribute to the submit inpute field with contact form7 ?

    Thanks,
    Maor

    http://wordpress.org/extend/plugins/contact-form-7/

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. maorb
    Member
    Posted 3 years ago #

    Thank you esmi.

    I'm Sorry I was confused.. since yesterday I dealt with a site with CF7
    This..
    I need to add this attribute on FormBuilder..
    I have a field of submit button, and I don't see there a way to add this.
    Do you know how to do it in FB?

    Thanks,
    Maor

  4. maorb
    Member
    Posted 3 years ago #

    Thank you esmi.

    I'm Sorry I was confused.. since yesterday I dealt with a site with CF7
    This..
    I need to add this attribute on FormBuilder..
    I have a field of submit button, and I don't see there a way to add this.
    Do you know how to do it in FB?

    http://wordpress.org/extend/plugins/formbuilder/

    p.s. Is there a way to change this thread's tag to formbuilder? I can't see the 'edit' button near my first message..

    Thanks,
    Maor

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Just post a new topic. :-)

  6. maorb
    Member
    Posted 3 years ago #

    Ok I will :)
    Do you know an option for that in FB?

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    Sorry - never used it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic