Cakephp 3.x: Dynamic input form validation

Hi,

I have dynamic input fields like I have some questions and many options are there as radio or checkbox. I want to validate these options that has been selected or not.

If no any option (radio or checkbox of any question) selected for a question/s then it should show error message.

I need support that how should i build its form and how to validate on server.

Regards.

Check here: https://book.cakephp.org/3.0/en/core-libraries/validation.html