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.

Poll with thumbs up/down for voting.

  1. 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

    Posted 12 years ago on Monday October 22, 2012 | Permalink
  2. 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.

    Posted 12 years ago on Wednesday October 24, 2012 | Permalink
  3. 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?

    Posted 12 years ago on Thursday October 25, 2012 | Permalink
  4. 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.

    Posted 12 years ago on Thursday October 25, 2012 | Permalink
  5. Thanks David. I'll give this a try on Monday!

    Posted 12 years ago on Friday October 26, 2012 | Permalink