Title: Submit button has different type
Last modified: May 23, 2018

---

# Submit button has different type

 *  Resolved [stephan7](https://wordpress.org/support/users/stephan7/)
 * (@stephan7)
 * [8 years ago](https://wordpress.org/support/topic/submit-button-has-different-type/)
 * The javascript in this plugin replaces any existing submit button of a CF7 form
   and replaces it with a new submit button of type ‘button’. Since the original
   button had the ‘submit’ type, it doesn’t automatically copy my theme styles.
 * Preferably, the script should first check the type of the button, save it, and
   then reuse it when creating the new button to prevent any theming problems.
 * Other (maybe better) option would be to provide a button class/id or data-attribute
   which can be used when configuring the submit button in the CF7 configurator.
 * Grtz.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vsourz Digital](https://wordpress.org/support/users/vsourz1td/)
 * (@vsourz1td)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/submit-button-has-different-type/#post-10364363)
 * Hi [@stephan7](https://wordpress.org/support/users/stephan7/),
 * “CF7 Invisible reCAPTCHA” plugin already using replicating concept. Means this
   plugin first copy existing submit button’s class and then creating separate submit
   button including original classes.
 * Also, we have already considered providing an option to add button class from
   plugin back-end screen. You will get this feature in our plugin’s future update.

Viewing 1 replies (of 1 total)

The topic ‘Submit button has different type’ is closed to new replies.

 * ![](https://ps.w.org/cf7-invisible-recaptcha/assets/icon-256x256.jpg?rev=1710830)
 * [CF7 Invisible reCAPTCHA](https://wordpress.org/plugins/cf7-invisible-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-invisible-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-invisible-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-invisible-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-invisible-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-invisible-recaptcha/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vsourz Digital](https://wordpress.org/support/users/vsourz1td/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/submit-button-has-different-type/#post-10364363)
 * Status: resolved