Could a radio button when selected be associated with a text box?
Ex: radio button "other" , text box "other" (w/multiple lines for extra comments)
I am using Html and saving the information to a database table.
You'd need either JavaScript or VBScript to do the assignment of the value. The code is not difficult. The hard part would be deciding on your actual implementation model.
If you have a multiline text box (<textarea></textarea>) and you are using the radio button to insert text. Where abouts do you insert the text? At the top? At the bottom? Somewhere in the middle?
What happens to the text that is already typed into the box?
I'd presume you'd have more than one radio button adding different chunks of text. What happens if the user selects one and then changes his or her mind? Do you erase the existing text before adding the new text?
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.