So currently I have added this notes field on this view page. It also has a complete modal feature
The current issue is When you click the Complete Budget Planner or Edit Budget Planner button, Save the contents on the notes box. This is because after you complete the modal, the step reloads, meaning that if you made any changes to the notes before opening the modal, they will be lost.
So ideally the notes field needs to be saved before it reloads.
There is a function which is on another view page
Since I added the notes field in multiple different view pages which has different controller action (MVC) does anyone have any suggestions how I can go about doing this?
So I thought I could modify the budgetPlannerSubmit function to save the notes before proceeding with the AJAX call that triggers the modal. But i am confused since the notes field is present across multiple different view pages that use different controllers.
1