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.

1 Answer 1

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.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .