Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
Description
Context:
Today, we only allow our users to define specific validations for the text and numeric fields. As we have a great different number of user cases that we can't cover all of them in OOTB solutions, it is important that we provide to our users a way to define custom validations in the backend that will be shown in the interface.
The behavior here is similar to what we have in the custom fields.
Acceptance Criteria
1 - Given a developer in Liferay forms,
when I create a new custom validation in the backend
then I can see it in the list of validation types for input on the form's page
2 - Given a developer in Liferay forms,
when I select a custom validation on the form's page
then I be able to fill the error message for it
Definition of Done (DoD):
- All Acceptance Criteria were passed;
- Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
- Code with peer review completed;
- Validated by QA and/or PM;
- No critical bug related to Story scope (ex.: similar of FP4, FP5);
- Make sure that all system documentation were updated (if necessary)
Make sure that it has the extensions points needed to allow GS and customers to customize the feature (If applicable)
Attachments
Issue Links
- depends on
-
LPS-129689 Investigate how difficulty is display custom validations
-
- Closed
-
- fixes
-
LPS-128155 As an advanced user, I would like to provide custom validation to my fields
-
- Closed
-
- is a dependency of
-
LPS-129396 As a form creator, I want to define future validations to my date field type with response date as parameter
-
- Closed
-
-
LPS-134212 As a form creator, I want to define past and range validations to my date field type with response date as parameter
-
- Closed
-
-
LPS-132349 Remove feature flag to enable/disable custom validations before 7.4 GA3
-
- Closed
-
-
LPS-132635 Document the new extension point for new custom validations
-
- Closed
-
- is related to
-
LPS-123976 Custom Validation for Structure Fields
-
- Reviewed
-