Lock Record when other user edit

AlexKite

New Member
Hi Fabrik forum,
I need to prevent 2 users being simultaneously editing the same record.
I find a thread in 'Standard Support' forum started by Sylvain1969, Aug 11, 2009, but I think the solution to this issue must be built-in to the Fabrik core - it will give much more power to the whole system!

Are there any new solutions since 2009?
Any help greatly appreciated - without this feature, my site will not work as desired!
 
No built-in.
You can handle it with with a status element and two php form plugins:
one "onLoad" checking/setting the element
one "onAfter" for resetting
and maybe an additional canEditRow list plugin.
 
And probably a cron plugin to clear out any timed-out locks, where someone has load the form but never submitted it.

This has been addressed a few times over the years, there should be some code knocking aorund for it if you search.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top