Maybe you should abandon this node then, because there isn't going to be code you can run. The config file (for a PERL MODULE) that I posted is capable of deleting a DBIC model without any perl code. I don't think you're familiar with HTML::FormFu and I don't think you're going to be able to answer my question without previous knowledge of this semi complex form framework. I could post a huge catalyst app for you with a sql dump of my database, but lets be real; no one is going to deal with all that shit, especially when relevant code is merely
in reply to Re^3: FormFu, DBIC, and multiple tables
in thread FormFu, DBIC, and multiple tables
remove delete_if_empty 1, and nothing gets deleted if the input is blank. Leave it there, and the row it belongs to (along with every row related to it) gets deleted. No perl code required besides telling my catalyst controller to use a formfu config for the action's form. This is clearly intended behavior, and shouldn't require code to explain. What does require an explanation is how do I delete only the row it belongs to, and if this requires setting a parameter in the config to point the element to a different ResultSet how do I do this?