On 16 fév, 00:02, Christophe COEVOET s...@notk.org wrote:
Le 15/02/2011 23:57, Lideln a crit :
Since I cannot add new answers to the topic I created earlier (why
that ?), I create a new one here with additionnal info.
As I said, I followed the official tutorial to create a RegisterForm
Thanks a lot!
I've just found the solution before your post!
Thanks anyway for your contribution and help. :*
On 2 déc, 21:14, Alexandre Salomé alexandre.sal...@gmail.com wrote:
Hi,
Welcome to symfony :)
You must set a postValidator on the validatorSchema of your form.
In the
Ciao Richtermeister,
I wrote the validator as a Callback:
?php
/**
* Listino form.
*
* @packageSuperAdmin
* @subpackage form
* @author Your name here
* @versionSVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21
07:10:32Z dwhittle $
*/
class ListinoForm extends
Hey Stefano,
I would write a custom post-validator. A post validator is given the
entire data array, so from there you can just loop over the array and
see if the values keep increasing..
Hope this helps,
Daniel
On Aug 12, 8:57 am, Stefano stef...@sancese.com wrote:
Hi,
I'm developing my
I'm not sure I get what you mean. If you want to make sure one date is
later than another one, I suggest you set up an
sfValidatorSchemaCompare [1] instance as a post validator.
[1]
http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfvalidatorschemacompare
On Sun, Jul 26,
Hi jmaicher,
Thanks For you Reply.
iam searching for form validations without using of widgets.
If you have any Idea Please Help me.
Regards,
Prashanth
On Mar 31, 6:53 pm, jmaicher julian.maic...@googlemail.com wrote:
It's pretty simple .. you created a class which extends sfForm?!
If so
Thank you Very much For your Reply.
And iam in little confusion where i have to write that code.
Please Can you give the Example.
On Mar 23, 8:26 pm, Fási Gábor maerl...@gmail.com wrote:
You can use the validators described in the Forms book, appendix
It's pretty simple .. you created a class which extends sfForm?!
If so you just have to implement the configure()-function where you
can create widgets (I hope you did that so far).
With $this-setValidators you can specify validators for each widget
or you can add a post validator.
little
You can use the validators described in the Forms book, appendix B
http://www.symfony-project.org/book/forms/1_2/en/B-Validators
they can be used w/o the form framework.
On Mon, Mar 23, 2009 at 07:10, Prashanth pmahank...@gmail.com wrote:
Hi All,
iam working with symfony 1.2.
i have created
I think you should use widgets in sf1.2 to for validation. Its not
that much difficult to use it rather i think its easier than ordinary
form and validations used before.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
You have to create an edit.yml ( edit is your form submit action )
like this:
methods:
post:
- feedback{name}
- feedback{email}
- feedback{message}
names:
feedback{name}:
required: yes
required_msg: Insert a title.
.
Try this.. ;)
Regards.
Mauro Casula
Thomas Rabaix wrote:
The original propel project handle validation at the Model level. This
feature has not been kept on symfony, don't know why ...
Firstly, please don't cross post! :)
Secondly, whilst I don't know why it was not done this way - but
validating things in the model doesn't
I am was having this and some other validation errors documented here:
http://www.symfony-project.com/forum/index.php/m/35804/#msg_35804
I'll try to see if the fix above works, thanks. Smells like a bug to
me.
On 19 сент, 13:35, nico_bl1nd [EMAIL PROTECTED] wrote:
thanks Kiril,
it works
13 matches
Mail list logo