Stuck on updating record from a stateless form

Stuck on updating record from a stateless form

I've made some progress on creating an effective comment system, but I'm stuck on something that I would have thought was simple. My scenario:

1. I have a view for a Project Request Form with a custom action/button that calls a stateless form. [this is working]

2. The stateless form has a Notes field, which it populates with the Notes field from the Project Request Form with the matching ID. [this is working]

3. I want the user to be able to edit the Notes field in the stateless form, which updates Notes in the matching Project Request Form record when they click Submit. [this is *not* working]

I've tried everything I know to resolve this, but it results in either an error upon submit, or the stateless form submitting and looking like it's working but not actually updating the record.

My fetch (On Load) in the stateless form is:

input.new_note = gsc_project_request[ID == input.notes_ID].notes;

My On Click in the stateless form is:

notes = input.new_note;
openUrl("#View:track_pending_projects", "same window");

Any advice would be greatly appreciated!