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
Cha YangCha Yang 

onclick javascript button to reset a field value

I have two fields I want to reset the value when user click on it. Object api: Research_Tools__c

User_1__c
Logged_in_1__c


 
Best Answer chosen by Cha Yang
Cha YangCha Yang
Thanks guys!
I got it work. 

All Answers

Shivdeep KumarShivdeep Kumar
Hi Cha Yang,

You can use the action:support visualforce page component to reset the values.
Please look on the https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionSupport.htm link.

Please let me know if this help.

Thanks
Shivdeep
NagendraNagendra (Salesforce Developers) 
Hi Yang,

May I suggest you please check with below link from the success community with a similar issue which might help. Regards,
Nagendra

 
Cha YangCha Yang
Thanks guys!
I got it work. 
This was selected as the best answer