Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Custom required form field with custom validation
I'm struggling to create a required custom formfield with some custom validation logic for Liferay CE 7.3+.
The validation for the field is very complex.
The Check for validation needs to be BEFORE sending the
FORM-Submit when the formfield changed and the fetch POST-Request is
sent in the background.
Where and how should I/do I have to place my validation?
Inside the Formfield-ReactJS? In the controller where the POST Request is going to? (Where? How?) Somewhere in the DDMFormFieldTypeSettings?
Are there any valuable hints anybody can give me for my task? I
am building my custom formfield with this