[Tfug] HTML form entry options

Chris Hill ubergeek at ubergeek.tv
Wed Jul 13 13:21:11 MST 2005


AFAIK you can't really, you need to use a couple different items together:

<form>
<input type="text" name="userInput" />
<select name="common entries" />
    <option value="0">Please select or input above</option>
    <option value="1">Option 1</option>
    <option value="2">Option 2</option>
    <option value="3">Option 3</option>
</select>

</form>


Additionally you can use a radio button group to determine which input 
should be used.

Hope this helps,
Chris

Adrian wrote:

>Any HTML gurus out there?... Without writing up some complicated js to write 
>and rewrite the webpage, is there an easy way to setup an HTML form entry 
>that is a free-form text entry, with a drop-down select of predefined 
>(commonly used) entries? Something that is a select box... but that you can 
>put in custom text.
>
>Adrian
>_______________________________________________
>tfug mailing list
>tfug at tfug.org
>http://www.tfug.org/mailman/listinfo/tfug
>  
>

-- 
 _________________________________________
<   __ __  ____                           >
<  |  |  \/ ___\  Chris Hill              >
<  |  |  / /_/  > ubergeek at ubergeek.tv    >
<  |____/\___  /  http://ubergeek.tv      >
<       /_____/   The Smell of Geek!      >
<----------------------------------------->



More information about the tfug mailing list