Home : Products : Gossamer Mail : Discussion :

Products: Gossamer Mail: Discussion: Re: [anup123] How to get a drop down from database into signup form: Edit Log

Here is the list of edits for this post
Re: [anup123] How to get a drop down from database into signup form
Try this:
Code:
<select name="dgraph_profession">
<option value="IT">IT</option>
<option value="public service">Public Service</option>
<option value="whatever">Whatever...</option>
</select>

[edit]
RE:
Quote:
Any suggestions or is it that every time a new option is added to the dgraph_profession, the pages will have to be updated manually.

For the most part, yeah, you will have to update the list manually. Althoug, I'm sure you can biuld a routine that pulls enum info from the column and builds a select. You can use the output of that in a template var.
[/edit]

~Charlie

Last edited by:

Chaz: Mar 4, 2003, 4:53 PM

Edit Log: