'Other' checkbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daJunkCollector
    New Member
    • Jun 2007
    • 76

    #1

    'Other' checkbox

    Hey,

    I am creating a web form that submits to a database. I have 7 checkboxes for the user to choose. I want to add an "other" checkbox that is accompanied by a textfield.

    Could you please recommend how I might go about this?

    I am seeking logic, not code.

    Thanks
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by daJunkCollector
    Hey,

    I am creating a web form that submits to a database. I have 7 checkboxes for the user to choose. I want to add an "other" checkbox that is accompanied by a textfield.

    Could you please recommend how I might go about this?

    I am seeking logic, not code.

    Thanks
    You could create a new user control that contains the checkbox and textbox. Then add the user control to your .aspx page.

    Nathan

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      I would recomend enabling/disabling the checkbox based on that "other" checkbox being checked or not.

      Comment

      • daJunkCollector
        New Member
        • Jun 2007
        • 76

        #4
        Sounds great guys. Thank you both very much. I will proceed with both ideas in mind. I really appreciate expert opinions on the matter :).

        Comment

        Working...