A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
search
AI OnAI Off
Hello!
I have an existing Optimizely CMS 11 website where I have a custom form container that needs to be integrated with an external signing service. The form needs to redirect to the signing service after either the form is filled or after a formstep.
My first thought was to have the form on one page and when it gets submitted change the "SYSTEMCOLUMN_FinalizedSubmission" in the formssubmitting event to false, reopen the form on another page using the FormGuid, FormSubmissionId etc. From there let the user sign the form and then update the "SYSTEMCOLUMN_FinalizedSubmission" in the controller of the signing page. However, I haven't been able to figure out how to update the submitted data in a controller without directly quering the database. Another possible solution might be to call on a form event to update the data but I haven't had any luck finding out how to call on a formevent in a controller (if it even is possible).
Another possible solution that I've fiddled with is to use a formstep to redirect to the signing page and from there redirect back to the form in the next formstep. If it's not possible to change submitted formsdata I might need to go this route.
I've tried combing through the forums and haven't been able to find anything useful. Has anyone else attempted anything similar? Any advice is much appreciated