开发者

In Symfony 1.2 (PHP), how to add validation to admin generated controlpanel?

开发者 https://www.devze.com 2023-03-07 20:52 出处:网络
I have created module ( test ) having following structure within control panel application: config开发者_如何学C

I have created module ( test ) having following structure within control panel application:

I have used admin generator to generate the control panel. How can I add validation to the form displayed in control panel?


you will have to setup the validation inside the configure method of your form.

read more about here: http://www.symfony-project.org/forms/1_2/en/02-Form-Validation

you will find all forms in /lib/form/

0

精彩评论

暂无评论...
验证码 换一张
取 消