Hello,

I have a few questions about form validation and fillins.

 From reading the form chapter in the book I gather that fillins are 
done by parsing the page as XHTML and inserting the values. Why isnt 
this handled inside the helpers? It must be possible for the helpers to 
figure out the context in which they are called and automatically 
filling in the default values.

The same applies to client side validation. I saw there is a similar 
"hack" [1] for adding client side validation by parsing the document. 
Again it should be possible for the helpers to automatically add this code.

I am slightly concerned about performance and reliability in the 
parsing. But again I think with some singleton magic it should be 
possible for the helpers to get access to the validation and fill in 
rules for a given element. Or am I just overlooking something?

regards,
Lukas

[1] http://www.symfony-project.com/trac/wiki/ClientsideValidationAndFillin



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to