+ Start a Discussion
Amber MorrisAmber Morris 

Creating a Custom Reset Button

I am in search of basic JavaScript code for an on click reset of a particular section on our Account page. Can anyone point me in the right direction of the starter code for such action? 
Swayam@SalesforceGuySwayam@SalesforceGuy
If you are using Visual force page for account creation you can you this button :
<apex:commandButton value="Reset" onclick="this.form.reset();return false;" />

For Standard layout, I don't think its possible. 

Hope this helps,

--
Regards,
Swayam
@Salesforceguy
Amber MorrisAmber Morris
Hi Swayam! 

Thank you for the above. Visual force is out of my skill set so I believe the best thing to do for my org is look for someone who can develop this rather quickly for us. We have a few other projects as well that we could use help on. Thanks again!!