logo
Ask your Symfony questions! Pay money and get answers fast! (more info)

runeb

Answers Given: 0 (see them all)
Contests Won: 0
Prize Money Earned: $0
Questions asked: 1 (see all of them)
Questions refunded: 1 (see all?)
Is a top asker (has the power to vote on anything):
Subscribes to all the discourse posted to the site?: Yes
Country:
City:
Netvotes this month (upvotes minus downvotes): 0
Netvotes of all time (upvotes minus downvotes): 0
Joined the site: April 4, 2011





This member has no upvoted answers






This member has no downvoted answers






runeb has not posted any answers.






runeb has not voted on any questions






Questions asked:

See more?






This member has not made any recommendations. If you are one of the top experts, please offer one now!






runeb's discourse:

Written in response to Split up EmbedRelations in form by IDs:

I managed to solve this with the help from dustin10 on the #symfony IRC channel (irc.freenode.net).

We added a hidden field in my ProductPropertyForm with the SetID I was trying to retrieve in my form:

$this->setWidget('property_set_id', new sfWidgetFormInputHidden());
$this->setDefault('property_set_id', $this->getObject()->getProperty()->getSetId());
$this->setValidator('property_set_id', new sfValidatorString());


That way I could retrieve the value in my form with:

$eForm['property_set_id']->getValue()


I now have my form separated into multiple tabs with jQuery :) Again, thanks a lot to dustin10 for his help.

link

See more?






runeb's refunded questions:

See more?






runeb has not posted any suggestions for appropriate prize amounts for questions.