Hi,
yes looks simple. It seems that the quote in L'email est obligatoire gets 
escaped correctly,
but the ones in Format '[EMAIL PROTECTED]' seem not to be escaped. you could 
for a quick fix remove the single quotes.

That should be resolvable pretty easy. Ill check that tonight
.: Fabian

-----Ursprüngliche Nachricht-----
Von: [email protected]
Gesendet: 07.09.07 16:28:34
An: symfony users <[email protected]>
CC: [EMAIL PROTECTED]
Betreff: [symfony-users] Problem with sfPokaYoke



Hi,
I have an error with the latest version of sfPokaYoke.

When generating the pokajoke js, I have this on javascript error
console  :
"missing } after property list"
On this line :
"var pkykValidationRules1 = {'email': {required: 1,required_msg: 'L
\'email est obligatoire',validators: {sfEmailValidator: {parameters:
{email_error: 'Format
'[EMAIL PROTECTED]''}}sfPropelUniqueValidator: {parameters:
{class: 'sfGuardUser',column: 'username',unique_error: 'Ce mail existe
en base, te fous pas de ma gueule !'}}}},'motdepasse': {required:
1,required_msg: 'Mot de passe obligatoire'}};

My validate.yml :
fields:
 email:
  required:
   msg: L'email est obligatoire
  sfEmailValidator:
   email_error: Format '[EMAIL PROTECTED]'
  sfPropelUniqueValidator:
   class: sfGuardUser
   column: username
   unique_error: Ce mail existe en base, te fous pas de ma gueule !
 motdepasse:
  required:
   msg: Mot de passe obligatoire

fillin:
 enabled: true
 param:
  exclude_types: [hidden, password]


Any idea ???






_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


--~--~---------~--~----~------------~-------~--~----~
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