on ‎2022 Apr 27 2:42 PM
Hi All,
in Backoffice I have field A with enum b & c. If I fill in field A with enum c, I want to make field D is mandatory before the change was saved.
is that possible to achieve conditional logic like that in Backoffice ?
Request clarification before answering.
I think you can achieve what you want with Validation Service in Backoffice Framework. A validation with ERROR severity will prevent saving the model. If OOTB constraints does not meet your needs, you can create a custom constraint by following the documentation about Customizing Data Validation Framework.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can do in multiple ways.
1. using validation service in Backoffice Framework.
after-typing validation / on-save validation inline editor area
2. Or simply use Save listeners on Type.
3. If it's common validation in the system, use Constraints directly.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.