WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Need to add onClick even to radio buttons (2 posts)

  1. TrishaM
    Member
    Posted 3 years ago #

    Using CF7 2.1.1

    I need to add an onClick event to [some, not all] radio buttons in order to make use of some javascript that shows or hides part of the form based on the radio button checked.

    I found some clues from another support topic about adding onClick to a text field, but it appears that since that suggestion was to modify the includes/classes.php file it would add that to every text field, and while I want to add it to radio buttons, I don't want it added to every radio button, just the ones in a specific form.

    Any suggestions?

  2. itayos
    Member
    Posted 3 years ago #

    hi
    i m also having the same problem
    i searched a lot but it seems it can not be done unfortunally

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic