Hi everybody,

I have two tables...:
- simpleTable (with attributes id and fk_veryFullTable)
- veryFullTable (with attributes id and URL)
... where simpleTable has a foreign key to veryFullTable.

And I want to use an admin generator form to add an entry to my
simpleTable. In the default setting I get a form with a drop down
field including a million entries from the veryFullTable. Which would
be just very stupid ;-)

The better way: I supply a sfWidgetFormInput() called urlAsString. And
with a custom sfValidator I check, that it is an existing url. Works
like charme.

But how to I get my form to use the correct foreign key instead of the
given URL? I don't know which would be the right way of altering the
form data in that way!

I really appreciate your help,
Eddie

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