I am trying to upload a file and left all the textual fields blank and hitting Save, it is committing the object with empty field values.
we have a file document type entity and other textual fields are having the required field validation, but If I am trying to upload a file and left all the textual fields blank and hitting Save, it is committing the object with empty field values. But giving required field validation error as well for all the fields. I attached my screenshot below.
Vignesh balakrishnan Venkateshkumar
Change your save button into a microflow and validate if the field is without data ($Entity/Release != empty). If so (false condition), shop an error message (popup) on the screen.
Go Make It
I noticed recently that using the file manager the filedoc will be committed no matter what you do to prevent it. You can use a microflow button, but there will be a commit before the microflow is executed. I’m going to ask Mendix about this.