Hello,
we were using 11 version erlier now moved to 14 getting range validation is not found warning.
what is the alternative way to add it back.
range : 1 to 100 like validation.
hipposysedit:validators: [range]
thanks & regards
Ganesh
Hello,
we were using 11 version erlier now moved to 14 getting range validation is not found warning.
what is the alternative way to add it back.
range : 1 to 100 like validation.
hipposysedit:validators: [range]
thanks & regards
Ganesh
Hi Ganesh,
I’m not aware of an out-of-the-box ‘range’ validator in version 11. So assuming this is a customization, I can imagine the configuration has been removed because the bootstrapping changed to yaml in version 12. Also the location of most validators changed from /hippo:configuration/hippo:frontend/cms/cms-validators to /hippo:configuration/hippo:modules/validation/hippo:moduleconfig. So you’ll have to redo the customization.
Jeroen
Hello Jeroen,
thanks for the update,
could you please let me know alternative class for
org.hippoecm.frontend.editor.plugins.validator.AbstractCmsValidator
thanks & regards
Ganesh
In 14 you have to implement a Validator interface, see https://documentation.bloomreach.com/14/library/concepts/plugins/create-a-custom-field-validator.html
HTH
Jeroen
Thanks Jeroen, i will try that.