Hi,
I got stuck on a similar thing, I got around the problem with having a text
box at the next to the drop down, and used that for new entries.
<select name='Items'>
<option value='0'>New Item, Enter --></option>
<option value='1'>Item 1</option>
<option value='2'>Item 2</option>
</select>
<input type='text' name='NewItem' value=''>
So the user would select "New Item Enter -->" from the drop down and then
they enter the new item in the text box. Then your processing page will
figure out that the drop down has passed the value for a new item and add it
to your DB, then pull the @@IDENTITY from your item table and use that ID.
Hope that makes sense
Ta ta
Paul
Paul Broomfield
NEOCOM
CRM Building
50 Dalton Street
Napier
Tel: 64 (06) 83 555 34
-----Original Message-----
From: Jesse Quijano [mailto:[EMAIL PROTECTED]]
Sent: Friday, 2 August 2002 10:42 a.m.
To: ActiveServerPages
Subject: OT: <select> + manual entry?
I've seen this done, but can't figure it out. I'm hoping some of you
veterans can help:
I would like to provide a drop down list of options (via a <select>?) but
allow the user to enter their own value if they would like. I've tried
various Google searches, but haven't found the magical combination of
keywords as of yet.
Your thoughts are appreciated.
Jesse
---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]