阅读背景:

如何在CakePHP中使用beforeValidate()?

来源:互联网 

I have a form with a URL field. The default value for this field is: https://. But the field is not required. The user can skip it and submit the form. It shouldn't return an error because it's not required and because they didn't enter a URL. But right now it does, because of the https://. I have a form with a URL field. The default val




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: