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
finance1.3965145028592822E12finance1.3965145028592822E12 

how to reset a page i;e i want to clear all the form fileds after submiting page

dev_sfdc1dev_sfdc1
Hi,
After submitting your form, values will become saved then you have to redirect page into newly entered one(i.e.your new form).
So you need to redirect it through apex method..

Thank you
finance1.3965145028592822E12finance1.3965145028592822E12
Hi,
      can u send me the code to clear all the fields in form after clicking reset button
Thank You.
Ramu_SFDCRamu_SFDC
The below post would help

https://developer.salesforce.com/forums/ForumsMain?id=906F000000098sEIAQ
dev_sfdc1dev_sfdc1
Hi,
Try like this ..
public PageReference Reset()  
   {    
       
       PageReference ref = new PageReference('/apex/Opportunity');
       ref.setredirect(true);
       return ref;
   }

If it resolves your issue, please mark it as solution...
Thank You