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.

Submit button

  1. Hey

    Love the plugin to bits but was wondering if there's any filter or setting I can use to make my forms use <button type="submit"> instead of <input type="submit"> ?

    Prefer using <buttons> for easier styling and have used them elsewhere on the site, and ideally I don't want to have to repeat / tweak my styles for using an <input>

    Thanks in advance

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink
  2. Mixd, you should definately be using inputs for submit buttons on forms. See the W3C recommendation here:

    Important: If you use the <button> element in an HTML form, different browsers may submit different values. Internet Explorer, prior version 9, will submit the text between the <button> and </button> tags, while other browsers will submit the content of the value attribute. Use the <input> element to create buttons in an HTML form.

    Why don't you just group the submit input in with your other button element css so it's all grouped together. If you want to give me a link to your form, I'd be happy to assist you with that.

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink