You need to sign in to do that
Don't have an account?

Copy value of checked inputField and Paste to an other inputField
I want to copy a value of an inputField wich is checked and paste it to an other inputField. I can do it with Javascript like this :
It's work with a simple inputText but doesn't work with inputField on a PageBlockTable. If you have any ideas how to do it..
Regards
Jeremy
function copy(test,test2) { document.getElementById(test2).value = document.getElementById(test).value; } <apex:inputText id="test" required="false"/> <apex:inputText id="test2" required="false"/>
It's work with a simple inputText but doesn't work with inputField on a PageBlockTable. If you have any ideas how to do it..
Regards
Jeremy
Please check with below post from stack exchange community with same discussion and suggested workarounds.
- http://salesforce.stackexchange.com/questions/151476/copy-value-of-checked-inputfield-to-another-inputfield
Please mark this thread as solved so that it gets removed from the unanswered queue and results in helping others who are encountering a similar issue.Best Regards,
Nagendra.