• Resolved Dan Stramer

    (@danstramer)


    Are there any downsides of using a <button> html element rather than an input[type=”submit”] element in the form?
    The <Button> element allows for better pseudo-element control over the input one.
    Was wondering if there are any implications on the plugin side.

    Thanks
    Dan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    I don’t think there are any downsides. You can insert a button element as HTML directly into the Form field. I suggest giving the element a wpcf7-submit class attribute if you want it to behave like other submit buttons.

    Hello, i get allways a email with a comment. how i can stop this????

    Thread Starter Dan Stramer

    (@danstramer)

    Thanks, yes that’s what I did:

    
    <button id='submit' class='wpcf7-form-control wpcf7-submit'>Send</button>

    Dan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Submit button instead of input[type=”submit”]’ is closed to new replies.