I generate an application using:
symfony propel:generate-admin frontend --module=ditta
symfony propel:generate-admin frontend --module=yyyy
....
then, to validate the form ditta I put, in apps/frontend/modules/ditta/
validate/edit.yml:
methods:
post:
- "ditta{CodFiscale}"
names:
ditta{CodFiscale}:
required: Yes
required_msg: Campo obbligatorio.
fillin:
activate: on
but when I save the data, leaving empty CodFiscale, nothing appens.
I added garblish at then end of apps/frontend/modules/ditta/validate/
edit.yml to have symfony throw an error while parsing the file, but
nothing!
So it looks like the file edit.yml is not read at all.
I'm sure I'm making some silly error, but I can not find it out.
Any hints?
TIA
Stefano
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---