Have you taken a look at the sfFormValidationPlugin?
(http://trac.symfony-project.com/wiki/sfFormValidationPlugin)

Since it's all client side this may work out well for you because you
won't have to redraw you entire page.

- Keith

On Oct 23, 12:16 pm, CaffeineInc <[EMAIL PROTECTED]> wrote:
> Hi I'm a big fan of standards compliance, and have been working with
> Symfony to create a new Web application.
>
> I've already written my own prototypeal form validation / Ajax classes
> to help with form validation as the inbuilt Symfony AJAX functionality
> although quick for prototyping, isn't standards complaint ( The
> default symfony ajax helpers use document.write to add ajax'ed buttons
> which is completely disgusting for clean standards compliant code).
>
> My new standards problems arise when including the form validation
> helpers (e.g. form_error('fieldname') ) outputs a div with a style of
> display:none; - this of course is an ugly way of hiding a div, and
> defeats the purposes of trying to keep a web page standards complaint.
> (I'm aiming for a 1.1 xml doctype)
>
> Not including the form helpers isn't going to help either because I
> need the server side validation and I also want clean and excellent
> code for everything.
>
> Is there another way, short of writing my own server side form
> handling system which can help me with (server side) standards
> complaint form validation, I'm not too sure what to do.
>
> Any Ideas?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to