View Full Version : :: assigning a variable to a fields value ::

07-09-2003, 10:41 AM
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 ;)

07-09-2003, 11:15 AM
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.

07-09-2003, 11:18 AM
i finally started delving into the code that lotus is exporting:

<OPTION>Ben Richards</OPTION>
<OPTION>David Mann
<OPTION>Emma Dodsworth
<OPTION>Jason Cole
<OPTION>Kevin Lee
<OPTION>Liam Tipler

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!