我刚刚遇到了一个问题,我认为这是symfony框架的某种“bug”:我想为不同类型的验证器(例如sfValidatorInteger)设置默认的错误消息。sfValidatorInteger仍会显示预设的默认消息'"%value% is not an integer.'。所以,我看了一下sfValidatorInteger::configure的实现,发现它设置了实例的硬编码错误消息:
protected function configur
和所有除了that..because我正在执行这么多的these...they“持有”他们的空间,即使他们不appear..like说我有5,然后单词appear..like如果我触发所有5,他们有一个错误消息javascript..but对于一些reason..javascript是不好的,并导致一个错误everytime...so是的.任何关于如何删除空格并只显示一次“helpful..all”的帮助将是错误的,我的错误消息将是相同的..使用visual studio 2010,asp和c#,这里是验证器
<asp:Regular