I am in a scenario, where i want to clear session value on form load, if session value exists. So for this purpose I have used
gform_loaded action. It is working fine but it
gform_loaded is actually triggering on all pages.
I have a checkbox in form page 1. If checkbox is checked, i have set a value in session. If session value is set on step 1 then I need to have a value in session until form submission is complete. And if a users quits webpage before completing the form submission, so on next visit, session value shouldn’t exist for that user on step 1. For this purpose, I need to know any alternative action to gform_loaded which only triggers on Page 1 of the loaded form.