I'm building a cross company system where people within one company can create new locations for their company only.
The admin view allows you to see all the fields (including the different companies), and insert new rows successfully.
For a person in a company I need to restrict the form so they don't see other companies, and then insert their company (which I have from their login) after they have submitted the form.
I thought the best way to do this would be to have a callback_before_insert....
When I add a new location I get "loading, saving data" appearing momentarily, and then...nothing - the table has not been updated with the new location information.
Any ideas?