Message Boards

How to implement the custom field into liferay form validation (7.2)

thumbnail
Harry K, modified 2 Years ago.

How to implement the custom field into liferay form validation (7.2)

New Member Posts: 3 Join Date: 3/16/21 Recent Posts

I have made a custom form field for liferay CE 7.2 like this example:
https://github.com/natocesarrego/slider

My custom form field is a customized fileupload field. 

Liferay forms builder has some validation and required settings by default. 
How do I implement my custom field into this existing liferay form validation?

I want to achieve that if my fileupload field is empty and it is set to required in the settings the user can not submit the form.

Francisco Javier Rivera, modified 2 Years ago.

RE: How to implement the custom field into liferay form validation (7.2)

New Member Posts: 15 Join Date: 6/27/11 Recent Posts

Hello, I am in the same situation, have you managed to include a custom validation to a custom field?