PDA

View Full Version : Upload ID and Label of select box


pix
05-03-2008, 05:40 PM
Is it possible to upload both the ID and the Label of a menu select box into 2 different columns in a database?

Is it possible to pass the label into a hidden field as the user selects the menu item? The hidden field would have to contain exactly what's in the label of the selected item before the upload form is submitted.

So in this case the select box uploads the ID, and the hidden field uploads the label.

shyam
05-03-2008, 08:37 PM
ofcourse it is possible the contents of the form are what you want them to be

pix
05-04-2008, 01:59 PM
So how do I pass the label of the select box into a hidden field before submitting the form?

Whatever Jr.
05-06-2008, 11:04 AM
Use javascript...