You need to sign in to do that
Don't have an account?
VINODKUMAR REDDY KALUVA
How to copy when data to text fields when checkbox is checked
I have a little challenge here please try:
I have a little challenge which I'm trying, I want whenever the checkbox is checked I want to copy the values into input text fields in visualforce page.
So here I have multiple rows and corresponding to that I have checkboxes, Whenever I click a checkbox values should pass to input text fields.
For more understanding, I'm attaching the screenshot of challenge.
Please have look at the below link for the more details :
https://salesforce.stackexchange.com/questions/260395/how-to-copy-when-data-to-text-fields-when-checkbox-is-checked
I have a little challenge which I'm trying, I want whenever the checkbox is checked I want to copy the values into input text fields in visualforce page.
So here I have multiple rows and corresponding to that I have checkboxes, Whenever I click a checkbox values should pass to input text fields.
For more understanding, I'm attaching the screenshot of challenge.
Please have look at the below link for the more details :
https://salesforce.stackexchange.com/questions/260395/how-to-copy-when-data-to-text-fields-when-checkbox-is-checked
I Have understand your requirement.
By using you can JavaScript you Auto fill Input text field. I am sharing some sample code to auto fill the input text field.
I havfe added Screenshot of above example.
Please let me kinow if it is useful (or) Any help required.
Thanks & Regards
Madhukar_Heptarc
Please try to see my challenge in the below link:
I tried with javascript it's not working as well, It's not copying right row data to right text fields.
you are given simple sample code, that will not work here.