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
    Regular Coder
    Join Date
    Jun 2002
    Location
    England =)
    Posts
    518
    Thanks
    25
    Thanked 0 Times in 0 Posts

    :: assigning a variable to a fields value ::

    ok i have the following but it dont work! any ideas why? im kinda rusty so i must be missing something easy i guess:

    name = document._webSearchCV.CVName.value;


    where _webSearchCV is the form (silly lotus naming convention) and CVName is the field

    plz help as im getting really peeved now
    "They hired me for my motivational skills. Everyone at work says they have to work much harder when I`m around" Homer J Simpson

  • #2
    Regular Coder ellisd5's Avatar
    Join Date
    Jun 2002
    Location
    Uk
    Posts
    160
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Dunno if the underscore is a problem. I wouldn't imagine it is.

    Try copy the form and field name and paste them into your javascript to make sure the case is the same. Form names and there fields are case sensitive.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    England =)
    Posts
    518
    Thanks
    25
    Thanked 0 Times in 0 Posts
    i finally started delving into the code that lotus is exporting:

    <SELECT NAME="CVName">
    <OPTION>Ben Richards</OPTION>
    <OPTION>David Mann
    <OPTION>Emma Dodsworth
    <OPTION>Jason Cole
    <OPTION>Kevin Lee
    <OPTION>Liam Tipler
    </SELECT>

    spot the mistake what a load of nonsense! not only has the blumin thing not bothered doing values its not even closed the tags! lmao! i just wasted 2 hours on this assuming it was my scripting that was wrong and not notes being poo @ html output!
    "They hired me for my motivational skills. Everyone at work says they have to work much harder when I`m around" Homer J Simpson


  •  

    Posting Permissions

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