Hi,
Here's my problem.
My jsp page have springframework binding. I have 2 radio buttons "Yes" & "No". What I would like to do is when the user selects "No" , I would like to disable all my Form Fields for that page so he cannot input anything into these fields.
Javascript I've written is as follows
<Script>
function Enable(this){
document.FormName.referenceHistories[0].fullName.disabled = false;
}
</Script>

Within the Form my input fields are binded in the following format
<spring:bind path = "comand.referenceHistories[0].fullName>
<Input type = "text"......>
</spring:bind>

The javascript throws errors saying object is either null or no value exists for that object.
Any help is appreciated.
Thanks