• Resolved stephan7

    (@stephan7)


    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

    (@vsourz1td)

    Hi @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.