Results 1 to 4 of 4

Thread: Easy way to auto generate comments based on dropdowns / checkboxes

  1. #1
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts

    Easy way to auto generate comments based on dropdowns / checkboxes

    Hi

    I could code this in a web based language, but I'm just wondering if anyone knows a reasonably easy way to do the following:

    I want a form (word / excel / google forms) where I select a mixture of dropdowns and checkboxes for a question, and will auto generate comments based on the selection.

    A practical example would be the following:

    1) What is the person's gender?
    [Dropdown of answers]

    2) What colour is the person's eyes?
    [Dropdown of answers]

    3) Was the person wearing trainers?
    [Checkbox for yes]

    Text box at the end:
    "The female staff member had brilliant blue eyes and was wearing trainers"
    or
    "The male staff member had emerald green eyes and didn't wear trainers"

    Each selection in the dropdown would need a sentence associated with it, which are all concatenated together in the text box.

    It really needs to be a MS office product or an online one like Google forms for portability reasons.

    Any offers? I could easily code this, but I'm falling foul of making more work for myself maintaining something that isn't my job again!

    Cheers
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  2. #2
    HEXUS.social member finlay666's Avatar
    Join Date
    Aug 2006
    Location
    Newcastle
    Posts
    8,546
    Thanks
    297
    Thanked
    894 times in 535 posts
    • finlay666's system
      • CPU:
      • 3570k
      • Memory:
      • 16gb
      • Graphics card(s):
      • 6950 2gb
      • Case:
      • Fractal R3
      • Operating System:
      • Windows 8
      • Monitor(s):
      • U2713HM and V222H
      • Internet:
      • cable

    Re: Easy way to auto generate comments based on dropdowns / checkboxes

    You could just use a function using a string concat on the values and true/false for the trainers
    H3XU5 Social FAQ
    Quote Originally Posted by tiggerai View Post
    I do like a bit of hot crumpet

  3. #3
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Easy way to auto generate comments based on dropdowns / checkboxes

    If you are in a Microsoft environment you can use Sharepoint (funny, thunder clapped just as I typed that)

    http://office.microsoft.com/en-gb/ac...010356866.aspx
    throw new ArgumentException (String, String, Exception)

  4. #4
    Registered+
    Join Date
    May 2007
    Posts
    21
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: Easy way to auto generate comments based on dropdowns / checkboxes

    You should be able to easily do that with some Excel Vba. Google shows me you can do dropdown box pretty easily... http://www.contextures.com/Excel-VBA...Box-Lists.html

    What you then need to figure out is how to do conditional string building for your rules.

    Much easier if you can do some simple Javascript+html and dump them somewhere on the web.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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