English 中文(简体)
缩略语:在验证之前/之后提交的数值
原标题:Symfony: Pre filtering submitted values before/after validation

我一直在鼓励这个网络,我没有发现任何东西!

我正在使用地名框架,以建立一个简单的创造形式。 罚款。 然而,在我提交的价值之前,我想增加教育第一、加强等等。

我不敢肯定,如果在这里遗漏一些至关重要的东西,但我看到,这样做的唯一途径是建立我自己的习俗有效者,并利用麦加方法,这种方法似乎已经消失了,因为一(d) 每个营地都有数百个有效人员!

希望你们能够帮助,即通过源代码、皮 、无数书籍和博客,以及一 have发现一件事: 要么不可能,要么真正容易,要么希望后者!

最佳回答

我对可能无法回答这一问题表示歉意,但你能否澄清为什么需要在约束和验证之前改变这些价值观? 这似乎类似于可作为<条码>sf Form Doctrine:processValues<>/code>或sfForm Doctrine:updateXXXX>Column呼re的部分内容。 如果你不再使用“反悔”手段,就应当有类似的方法。

问题回答

暂无回答




相关问题
Bind Button.IsEnabled to custom validation with XAML?

I am sorry I didn t know how to title my question any better, you name it if you got a good 1. I have an entity Contact. this person has navigation properties: Address, Phones (A collection of Phone)....

WPF - MVVM - NHibernate Validation

Im facing a bit of an issue when trying to validate a decimal property on domain object which is bound to a textbox on the view through the viewmodel. I am using NHibernate to decorate my property on ...

Wpf Combobox Limit to List

We are using Wpf Combobox to allow the user to do the following things: 1) select items by typing in the first few characters 2) auto complete the entry by filtering the list 3) suggesting the first ...

Rails 101 | validates_currency?

I ve searched high and low, but I could not find a solution, to what I think seems like a very common task. In a form I want to have a text input that accepts currency strings (i.e. $1,000,000 or ...

CodeIgniter form verification and class

I m using the form validation library and have something like this in the view <p> <label for="NAME">Name <span class="required">*</span></label> <?...

热门标签