I am working on a form (Gravity Form) which needs some user authentication when the form is submitted. Gravity's documentation pointed out the place where i should place my code. i.e.
I tried using SimpleModal Login, but problem comes when the user is authenticated and it is redirected either to the dashboard (default) or using redirect_to. This causes all fields reset to defaults.
Question is how can i preserve my form's (gravity form) entries and still authenticate and login the user?