ODBiC Discussion Board

RE: Combo box with option list, Jon Grosse, 01-16-2008

Use Javascript to implement

by Gordon, January 16, 2008 08:37

1. Create the textbox but hide it first (with Javascript)
2. In the optionList, add "others" or "Input in Textbox".  When user select it, unhide the textbox
3. After submitted, insert into DB depend on user selection.
4. If you allow user to update the data, you will need to pre-determine to hide or unhide the textbox.

The hide/unhide javascript should be very easily to find in the internet. I have done this before with ODBScript, it is not very complicated.


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.