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.

Editing the input type="button"

  1. Hello,

    I've using gforms to create a form on facebook.

    Weird it sounds but i'm actually just pulling in my wordpress theme into the facebook app iframe, and just using the form in the theme. Works perfect but I want to add some java script which only allows the form to be sumbmitted if they agree to posting a note on their wall. I've got the javascript to work but I need to add something to the input button.

    <input id="submitbutton" type="button" onclick="dotest();" value="Send Referrer Details" />

    The above code is what I need to my input to look like, i'm guessing its the onclick plus value maybe which will initiate my javascript.

    Can I some how edit my input button?

    Thanks

    Posted 11 years ago on Tuesday September 13, 2011 | Permalink
  2. This would be what you're looking for.

    http://www.gravityhelp.com/documentation/page/Gform_submit_button

    Posted 11 years ago on Tuesday September 13, 2011 | Permalink
  3. P E R F E C T
    Thanks so much Kev... again!!!

    Posted 11 years ago on Wednesday September 14, 2011 | Permalink
  4. Yep, my pleasure.

    Posted 11 years ago on Wednesday September 14, 2011 | Permalink

This topic has been resolved and has been closed to new replies.