[symfony-users] Re: Form validation

2011-02-16 Thread Lideln
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

[symfony-users] Re: Form Validation

2009-12-03 Thread WEB-CHALLENGE
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

[symfony-users] Re: Form validation

2009-08-15 Thread Stefano Sancese
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

[symfony-users] Re: Form validation

2009-08-12 Thread Richtermeister
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

[symfony-users] Re: Form Validation based on a tainted value?

2009-07-26 Thread Gábor Fási
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,

[symfony-users] Re: Form validation in symfony1.2

2009-04-01 Thread Prashanth
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

[symfony-users] Re: Form validation in symfony1.2

2009-03-31 Thread Prashanth
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

[symfony-users] Re: Form validation in symfony1.2

2009-03-31 Thread jmaicher
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

[symfony-users] Re: Form validation in symfony1.2

2009-03-23 Thread Fási Gábor
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

[symfony-users] Re: Form validation in symfony1.2

2009-03-23 Thread nidheesh
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

[symfony-users] Re: Form validation as array

2008-06-03 Thread Mauro Casula
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

[symfony-users] Re: form validation -- model validation

2008-03-02 Thread Ian P. Christian
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

[symfony-users] Re: Form validation problem

2007-09-19 Thread z01d
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