Reset form controller in ui builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi everyone.
I have a modal with a form and mutliple fields.
In the modal i created a save and cancel button and both of them seem to work.
However after saving, when I want to create another record, using the modal - it updates the previously create record. This for my understanding happens because the modal/form/instance was never really dropped on close modal.
Do you have an idea , not using Glide Form, how to do that?
How can I reset the instance after creation, so that a button press to create a new record will open the modal and form with sys id = -1.
I did try setting it to -1 after completion - still it wont affect, since the instance seems to keep the created record id no matter what i do..
Thank you guys 😕
