Open rajeevyadav2 opened 5 years ago
@rajeevyadav2, thank you for your request. We already have an issue in our backlog with this improvement and is in our roadmap. https://github.com/adobe/aem-core-wcm-components/issues/19 I'll also link your feature request to that issue.
thanks @andreeadracea . It should not be just hide/show. We should be able to configure other constraints too like values based on other fields, enable/disable the fields etc.
Hi @rajeevyadav2, thank you for your feedback on a show/hide capability of the form. I agree that this is something that we want the Core Form components to support.
However, to set realistic expectation, we are currently working on other Core Component features and components, and will probably be able to address the Form topics only after April 2019. If you have the interest and time to contribute that yourself, we'd be glad to help you to do that as a PR which we could then further discuss in here, typically breaking it up into small iterative steps.
Feature Request
Is your feature request related to a problem? Please describe. Right now we are not able to configure the constraints based on values selected in other fields in form. This feature was available in foundation form components in cq 5.x.
Describe the solution you'd like Each form component should have configurable option to configure constraint rules based on other fields values. For Eg. Current field should be enable if other field value is yes else disable it.
Are there alternatives? No
Documentation Similar to foundation form components available in cq 5.6