guitarromantic@gmail.com wrote:[color=blue]
> Hey everyone,
>
> I maintain a music review site and have a php form to submit data to
> our database. I have a dropdown form box with all our writers on
> (selected from the database) and the selected value is stored in the
> database for each review.. straightforward.
>
> However, we also do multi-author reviews. I normally just use the
> "Multiple" profile, but this then means in lists of reviews by authors,
> their multiple ones don't show up. I could hack a way around this but
> frankly it'd be better for the site if I could associate a review with
> multiple authors. I figure I can do this, so I need a way of making an
> appropriate form.
>
> Basically, I want to have two form fields: the aforementioned select
> field with a list of all staff, with a "Add" button next to it, which
> then adds that user's ID to a second field marked "reviewers", followed
> by a comma. I'm evidently no javascript scholar, so can anyone point me
> in the right direction?
>
> Matt[/color]
Hi Matt
Have you considered using a multiple select box instead of using
javascript?
Tim