Looking to see if there is a way (custom CSS class?) to have a poll with two options. One being a thumb up image the other being a thumb down image. You'd tap/click the thumbs to vote.
thanks
Looking to see if there is a way (custom CSS class?) to have a poll with two options. One being a thumb up image the other being a thumb down image. You'd tap/click the thumbs to vote.
thanks
Using a radio button field type for the Poll field, you can customize the choice options by targeting the desired choice ( .gchoice_1_1, .gchoice_1_2 ) and then apply an image via CSS. Let me know if you need additional clarification.
OK... that makes sense, but is there a way to make take the selection as soon as it's done, rather than having to use the submit button?
Hi Sagacomm,
You could bind the radio button field to the submit button. Something like this:
[js]
jQuery(document).ready(function($)){
jQuery('.gf_trigger_submit input').click(function(){
jQuery(this).parents('form').submit();
});
});
Then just add the "gf_trigger_submit" class to any radio button field that should trigger the submit when an option is selected.
Thanks David. I'll give this a try on Monday!