Calling $form-setDefaults(null) resets all values in the form, that
should work in principle (didn't try out yet). It's a sort of full
reset, and the fields should get the defaults as
If you desire the tainted values (the ones the user entered before
validating them, you could use something like $f
It doesn't have. And it is highly advisable that a redirect is
executed after a form is processed. The only time no redirection will
happen is if the form is invalid.
On Jan 18, 7:02 pm, DoRiaN wrote:
> Ok there are lot of solutions, buf does sfForm have a method to this ?
>
> On 15 jan, 14:39, T
Ok there are lot of solutions, buf does sfForm have a method to this ?
On 15 jan, 14:39, Tom Ptacnik wrote:
> If you want to clear the form after it's proccessed, you can simply do
> redirect to the same form (in the action)
>
> On 15 led, 12:23,DoRiaN wrote:
>
> > Hello,
>
> > How to delete valu
If you want to clear the form after it's proccessed, you can simply do
redirect to the same form (in the action)
On 15 led, 12:23, DoRiaN wrote:
> Hello,
>
> How to delete values after bind() ?
> I want to clean my form.
>
> Thank,
--
You received this message because you are subscribed to the
When the form isValid(), i display again the same form empty to add a
new element.
I do new Form because i don't know how to clean values.
On 15 jan, 14:27, ken wrote:
> What's your purpose of clearing the form of its values?
>
> On Jan 15, 7:23 pm, DoRiaN wrote:
>
> > Hello,
>
> > How to dele
What's your purpose of clearing the form of its values?
On Jan 15, 7:23 pm, DoRiaN wrote:
> Hello,
>
> How to delete values after bind() ?
> I want to clean my form.
>
> Thank,
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gr