Me again

I'll tell you something, my brain has gone totally blank and I can't figure out what I'm supposed to be doing.

In my qualifications project thingy, I have all my course units data stored in my database (thanks Matt!) and want to put them all in a big list so the user can select which ones they want to add to their qualification either as mandatory units or optional units. I then want to submit the contents of these mandatory and optional lists with my form and put their data in the relevant data tables.

Not a problem in theory, but I've hit a problem with building the HTML interface that's hurting my very fragile brain.

What I've done so far is used 3 <select> objects set as lists with some buttons and a smattering of Javascript to move these list items around - selecting an item in the course units list and clicking the add buttons successfully adds that item to the mandatory or optional units lists as appropriate and removes it from available units. The process is reversible too.

Then I try to submit the thing. Even though the lists have options in them, unless I actually select any of the options contained no data for that list is submitted - obvious looking back on it as that's how these form controls work.

Am I barking up the wrong tree using <select> boxes for this? Can I use Javascript to internally select every item in the list as soon as I submit the form? Is there a better way of doing it?

Clear as mud I know, but cheers in advance.

MOU


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to