I have searched and have found nothing of the like.
Validation is good.
But i would like something extra.
I would like to be able, when i create a form, to make a some of my hidden fields to be 'untamperable'
I imagine something like the CSRF token technique, but meant for the hidden fields i want, e.g. something like a digest of the fields values and a secret key known only serverside.
So if a malicious user tampers the form and submits it,
i will immediately know that the hidden fields have been tampered e.g. he tried to set a different owner_id in the form of an car object.
I hate to try and save such temporary values in the session(to prevent tampering), or try and validate this value with more sql queries to the database.
I have noticed that in symfony2 all my forms have the same csrf token, so they propably don't do also tampering checking with it.
I'll be looking forward for an answer.
Again forgive me if something like this exists already but haven't found it.
Thank you in advance.