Custom required form field with custom validation

Uwe Peters, modified 5 Years ago. New Member Posts: 22 Join Date: 11/24/20 Recent Posts

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