Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2013
    Posts
    3

    Default Casting Votes / Making a Poll

    Hi - would appreciate any advice you all have on this... I'm creating a site with Xara Designer Pro X in which people can choose which of 2 quotes is more meaningful to them. I would like users to be able to click the quote of their choice and somehow have that selection tabulated somewhere (a spreadsheet in Google Drive, etc...). Any ideas on how to do this without using a widget (i'd prefer to avoid using widgets as I don't want my art design interrupted)? If not possible without a widget, any recommendations as to which widget to use? Again, the questions will be completely binary, as in "is quote A or quote B better".
    thanks!

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,828

    Default Re: Casting Votes / Making a Poll

    I shall assume that you do not have access to PHP and a server-side scripting environment.

    If you are not using a Widget, the only simple method would be to create two links or buttons that are predefined emails:

    mailto:yourmailbox@com?subject=Quote%20A
    and
    mailto:yourmailbox@com?subject=Quote%20B

    You would then have to tally emails received and update your site accordingly.

    Acorn

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,506

    Default Re: Casting Votes / Making a Poll

    Excellent solution Acorn

  4. #4
    Join Date
    Jun 2013
    Posts
    3

    Default Re: Casting Votes / Making a Poll

    Thanks for the advice Acorn. Just to make sure I understand... If I want to use your predefined emails suggestion, would create a button and then go to web properties --> placeholder --> replace with HTML code (body) --> then paste in "mailto:yourmailbox@com?subject=Quote%20A" (obviously replacing "yourmailbox" with my email address)? Just want to make sure I can correctly implement your idea.

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,828

    Default Re: Casting Votes / Making a Poll

    No, you add the mail detail directly into the button as Web Properties > Link > Link to Web or Email address.
    Yes, to your substituting the email address. Ideally, this should be an aliased account and not your primary address to cut down on spammers.
    That said, i have added by business email on many sites and my ISP generally winnows them out. There are simple, short JavaScript utilities that can disguise an email from scrapers and bots.

    Acorn

  6. #6
    Join Date
    Aug 2010
    Posts
    533

    Default Re: Casting Votes / Making a Poll

    As far as I know Xara automatically encrypts email links

  7. #7
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Casting Votes / Making a Poll

    A downside to the 'mailto' approach is that the visitor to your website needs a local email client installed and configured on their computer. Many people, such as myself, use web-based email clients so such links would not work for them.

  8. #8

    Default Re: Casting Votes / Making a Poll

    Well, you can set this, Boy.
    My default email is Gmail. mailto: links open up a page and log me into gmail.
    https://support.google.com/mail/answer/10966?hl=en

    You can also do similar with Hotmail and Yahoo Mail.

  9. #9
    Join Date
    Aug 2010
    Posts
    533

    Default Re: Casting Votes / Making a Poll

    You could also do this with a simple form... Option A, Option B and Submit

  10. #10
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Casting Votes / Making a Poll

    Quote Originally Posted by sledger View Post
    Well, you can set this, Boy.
    My default email is Gmail. mailto: links open up a page and log me into gmail.
    https://support.google.com/mail/answer/10966?hl=en

    You can also do similar with Hotmail and Yahoo Mail.
    Thanks for clarifying that, Steve, but I use another webmail service that does not allow this. Of course I could set things up differently through one of the web services you mentioned but I do not really see the immediate need for this.

    My point was that probably many other people do not have the 'mailto' feature configured properly either so that the polling solution Acorn proposed will not work in those cases.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •