I am having a dropdown box and a 5 textfields( all disabled). I am entering data into textfield by using javascript, from the dropdown(what ever value is present in the dropdown, goes into the text fields).
Now, when the submit button is clicked, I want to get the value from this text field in the action class(java). On testing, I was getting “null” [getParameterValues(“textfieldname”) is what I have done].
When I removed the disabled, I was getting the value. So, how can I get the value while the disabled, is applied to the text field ?
Instead of disable them make them readonly.