|Problem with the new form system (form in form and ajax) [message #98177]
||Tue, 27 April 2010 23:39
Registered: June 2008
I have a form, where I get data for an object. For this object I need to define user groups and user rights (in the same form). This n_m relationship is saved in a seperate table and the values for the user groups and user rights are load form two tables. The user must be able to edit the values (user group and rights) directly in this form.
So we have a normal form, where we also define a n:m relationship and the user can edit the values of the tables from the n:m relationship. I think I can solve this problem with Ajax and some remote_functions, but I don't know how to solve it with the new form system.
It sounds complex, but it is "only a normal form" where the user can edit a list-field directly in the form.
I hope you know what I mean and someone can give me a cause for thought. Maybe you someone knows a solution and can post a code example.