Moving HTML Input Field Values to Notes Fields on the web

Good Day Folks,

I am feeling a little challenged today as I am unable to accomplish something that I have done previously.

What I have is a completed HTML form with radio buttons which I need to grab the value of and place back into a hidden field on the web.

Typically I would be thinking that I would be completing this like this:

document.forms[0].Question2BNotesField = document.forms.Ques2B.value;

But alas this does not work… and I am just challenged today as I cannot find an example of this anywhere…

1

2

<etc…

Any assistance would be appriecated…

Thank you,

Ken

Subject: Moving HTML Input Field Values to Notes Fields on the web

Finally found it… In my own old code… Man I am a putz today… And the answer is if you are looking,

document.forms[0].Question2BNotesField = document.getElementById(‘Ques2A’).value;

Thank you me… for finally finding it… Man I hate days like today…

Subject: RE: Moving HTML Input Field Values to Notes Fields on the web

Or

document.forms[0].Question2BNotesField.value = document.forms[0].Ques2B.value;

Subject: RE: Moving HTML Input Field Values to Notes Fields on the web

Better yet…

for (i=0;i<document.forms[0].Ques2A.length;i++)

{

 if (document.forms[0].Ques2A[i].checked) 

	{

	user_input = document.forms[0].Ques2A[i].value;

	}

}

Got wonky results between NS and IE… with the element…