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
Developer One 25Developer One 25 

Hi team, I need to implement this functionality , please suggest and help with sample code

1 Create VF one page with two sections Account details, Account Backup details
 and one custom button

2. On click of first page custom button second vf page will open for creation of account record 
this page also contains one custom button
on click of custom button the record will save and also need to redirect to first page
 

3. After redirection the records that we entered will show in first section of account details
with link delete
 

4. when click on delete link the record will save to one custom object account backup 
and will show in second section of first page
Account Backup details with link delete and undelete

5. when click on undelete it will show in first section again
and if deleted in second section it will not show in both the sections