1

I have a JavaScript function that fills some apex:inputfields and make them disabled so the user cannot change their values. But it seems that values aren't passed to the controller after an action (commandButton) I tried by removing the part in the JavaScript function which disables the inputs and it works fine.

3

Have you tried marking them read-only instead?

Edit As pointed out by eyescream in the comments, disabled fields are not sent on form submission. His link has more detail on that topic.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.