Hi fellow Apex users, I hope someone can help me solving this problem! I have been stuck for hours to figure this out but no luck
So I have a form page to create an account. There will be 2 different submit buttons:
- Save Account - will save the data and then redirect to homepage (Page 1)
- Save & Add Activity - will save the data, then redirect to another form (Page 6)
The confusing part came when I tried to pass some data from this form page to Page 6 on the branching part. I am not sure how to pass the values via URL without losing them upon the "reset page" process.
The "reset page" process will remove all values from the form right after the INSERT operation, thus Page 6 will not receive any values. But I cannot remove the "reset page" process because I want the form to be empty again for next usage. Is there any way to make sure the reset happen after the branch process?
P.S. I am using Apex v5.0.3.