File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:select and editable text box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select and editable text box" Watch "html:select and editable text box" New topic
Author

html:select and editable text box

Hideki Mae
Greenhorn

Joined: Oct 19, 2004
Posts: 14
Is there a way to have an editable text box with the html:select tag?
For example, let's say I have a drop down list and the list contains pre-defined entries that can be put into the database. I was wondering if it's possible to make the text box editable as well so that the user can put in a new value, one that is not predefined.

Thank you for all your help.

hideki
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I'm sorry. html does not allow this.

Your best option might be to use radios or checkboxes. The last box would have a label of "Other:" (or something similar) and would have a textfield nearby.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:select and editable text box
 
Similar Threads
Textbox in JTable
text wrap in combo box.
Editable Select Box ?
Help for editable list box
editable combo box