Tessa
Member
Hello!
I have "table_foo" and "table_bar".
table_foo has many table_bar (one to many relationship).
Well, i have a copy of table_bar that has a checkbox that says "Update All?", so instead of updating the individual record, it will update all related records. Note that there is no JOIN because it will mess up editing the form the way it's set up.
I understand I need to add a custom PHP form script, do you have any examples of a related situation?
Here's the real situation:
I have table Model and table Sizes.
I have a copy of the Size table, and want to have an option to edit a record and include some data that is unique to all the sizes of the model, or if the "Update All" checkbox is unchecked, it would only update that size itself.
Looking forward to a response.
Tessa
Latest Joomla 2.5.x version
Updated from Github like 2 weeks ago
I have "table_foo" and "table_bar".
table_foo has many table_bar (one to many relationship).
Well, i have a copy of table_bar that has a checkbox that says "Update All?", so instead of updating the individual record, it will update all related records. Note that there is no JOIN because it will mess up editing the form the way it's set up.
I understand I need to add a custom PHP form script, do you have any examples of a related situation?
Here's the real situation:
I have table Model and table Sizes.
I have a copy of the Size table, and want to have an option to edit a record and include some data that is unique to all the sizes of the model, or if the "Update All" checkbox is unchecked, it would only update that size itself.
Looking forward to a response.
Tessa
Latest Joomla 2.5.x version
Updated from Github like 2 weeks ago