function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jeremy DeseezJeremy Deseez 

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 :
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
NagendraNagendra (Salesforce Developers) 
HI Jeremy,

Please check with below post from stack exchange community with same discussion and suggested workarounds. 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.