Hey Orange,
So... I had never made a bookmarklet before so that was step one. It sounds like you've got the gist of the bookmarklet, so all you really need is this:
$.post('http://gravityforms.ounceoftalent.com/boom/', { "input_1_3" : "David", "input_1_6" : "Smith", "input_2" : "spivurno@gmail.com", "input_3" : "Just a little content.", "is_submit_8" : "1"});
You'll want to run this in your bookmarklet code wherever you are trying to submit the Gravity Form. This assumes that you are loading jQuery through your bookmarklet, otherwise you'll have to do the ajax the old fashioned way (gross!). You'll want to update http://gravityforms.ounceoftalent.com/boom/ to the URL of your form and each "input_1_?" based on the corresponding field id's in your form. The last value you'll want to update is "is_submit_8", replacing "8" with the ID of your form.
Update: the forum parser strips out the bookmarklet link so... I just took that out.
Posted 14 years ago on Friday September 17, 2010 |
Permalink