require conditionally
I'm creating an action on a table opening a modal where i want some extra data before i "close" the record. so i have 2 buttons in the modal, one to just save, so it can still be editted, and one to save and close the record. after closing the extra data can't be edited anymore. So i want the "answer" field to be required only when i have the "close" argument in the action. Is there any way to do this?
0 Replies