If you want to do this in realtime, I think you should use socket.io, but keep track of users that are updating a model from a view require a bit of work;
Instead, you could make this check after submit, creating a field in the database named "hash" (for example) and comparing it with that has been passed from form.