Using Modal to Add a Record and then redirect to a URL

I would appreciate some guidance on what would be a sensible flow.

I have a modal which has a form as the main body. Within the form I have PersonID which takes a value from a URL parameter and also a datepicker called planneddate. I want to add a row to my Order table when the submit button is pressed with these two variables (number for PersonID and date for planneddate).

Following success then I want to redirect to a different URL to allow the individual OrderLines to be added.

I have been working on this for hours and am getting brain dead…

I can’t work out what I should be doing in the modal or what I should be doing via a ServerConnect “on success” dynamic event or maybe there is a better way…

Community Page
Last updated: