Hello I have a few questions regarding the admin generator.

If I create a custom field with a partial. How can I flag it as
required so the generator bolds the name. In the default admin
generator class="required" is added to the labels of required fields.
I tried adding require: true and required: true to the generator.yml
but it does not work.

Also with this custom field how can I validate it along side the
existing fields? I tried adding it to my edit.yml and symfony just
shows an undefined index notice.

I have handled the update of this custom field in the module's
actions.class.php file and it works just fine so I am not sure why I
can't validate it.

Another thing I have noticed is that error messages on the "list" page
using <ul><li> tags whereas form error messages on the "edit" view use
<dt><dl> tags. Is there any purpose for this?

I also have the need for 2 select boxes where the options of the 2nd
select box depends on the first. Would I need a component for this?

I would appreciate any help.

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