PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

set a class name per submit button

  1. I can see how to do this for each field and the form itself. What about the submit button?

    Thank you.

    Posted 12 years ago on Saturday June 2, 2012 | Permalink
  2. The easiest way to do this is to create your own custom styles based upon the css that is already present in the gravity forms system. You can add your own classes but it involves changing some plugin files that would revert back when you update the plugin through the wordpress admin.

    To create your own styles, here are the css classes you need to work with...

    This applies to all forms...

    body .gform_wrapper .gform_footer input[type=submit] {border:1px solid red}

    while this applies to the form with id=1...

    body #gform_wrapper_1 .gform_footer input[type=submit] {border:1px solid red}

    The above code was taken from http://www.rocketgenius.com/gravity-forms-css-targeting-specific-elements/#highlighter_125354

    Posted 12 years ago on Saturday June 2, 2012 | Permalink