Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry How do I combine the selected values collect from a form?

    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #3
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •