How do I write multiple option buttons for multiple inputs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shirleymichael7
    New Member
    • May 2010
    • 1

    How do I write multiple option buttons for multiple inputs

    I am writing a VB6 web program for a Survey web site.

    They want 10 questions with each having 10 possible option buttons the user can select (like 1 is don't like, 5 is neither like or dislike, 10 is like very much).

    I can't figure out how to assign the 1-10 value to the option buttons then be able to retrieve it later per question to write the results to a database.

    Can anyone help me? This is probably very easy but for some reason I'm hitting a wall.

    Thanks,
    Shirley
  • Guido Geurs
    Recognized Expert Contributor
    • Oct 2009
    • 767

    #2
    dear,

    You can index the option buttons. (see attachment)
    loop trough the options and remember the one with value=true

    br,
    Attached Files

    Comment

    Working...