-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: Master
-
Fix Version/s: 7.0.0 DXP SP2, 7.0.0 DXP SP3, 7.0.3 CE GA4, Master
-
Component/s: ~ [Archived] Frontend Infrastructure
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
There should be a way to add or remove validation rules from javascript.
Sometimes, a validation depends on a performed action. For instance: In blogs, the Title is required just when the user clicks the "Publish" button, not for the "Save as draft" button. Or the "description" input is only required when the "custom abstract" radio button is checked.