PDA

View Full Version : How do I combine the selected values collect from a form?



peterfc2
07-28-2002, 04:47 PM
Hi Help!
How do I combine the selected values collect from a form?
I know their strings but I'm stuck on how you combine them into one long string.

document.selectform.day.value
document.selectform.month.value
document.selectform.year.value
document.selectform.hteam.value
document.selectform.hscore.value
document.selectform.ateam.value
document.selectform.ascore.value
document.selectform.attendence.value
Cheers
Peter

ACJavascript
07-28-2002, 07:33 PM
Are the select forms multiple select. or just one at a time, and how do you want them to be combined, like do you want them to be combined and placed into a textbox or sent somewhere. ect.


Just not quite sure how you want it to be done :D:D

peterfc2
07-28-2002, 07:40 PM
I've made some progress myself and I've got all the forms data in a var. (var = textdata)
Now I want to pass this data
into a textarea.
then use the form again and
add more text to the text already in textarea
Hope that makes sense
Guess what I'm stuck again.
Peter