Thread: HTML / PHP Help
View Single Post
Old 09-18-2021, 12:07 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
I usually accomplish what you are describing by using a select (dropdown list) and a text field next to each other so that the user can pick from the dropdown or enter a new value.

I think that is what you are describing.

Something like this:

<b>Select Name:</b>
<select name="name_select">
<option></option>
<option>name1</option>
<option>name2</option>
</select> - OR -
<b>Enter name:</b><input type=text name=name2use id=name2use value="" size=50 maxlength=254>

I also use some javascript tricks so that if they do the select then the text field is disabled and vice versa.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote