What is the correct syntax if you want to pass a param to your
validator in the object{field} syntax?

validators:
  firstNameValidator:
    class:      myFirstNameValidator

fields:
  customer{class_key}:
  customer{first_name}:
    firstNameValidator:
      class_key: customer{class_key}  <<<<<< this is the line that
causes the problem
      first_name_error: You must enter at least a First Name

I get the following error when I try to load the form:

Fatal error: Unsupported operand types in /usr/share/pear/symfony/util/
Spyc.class.php on line 667


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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