paulW
Posts: 24
|
| Posted: 07/27/2009, 1:22 PM |
|
I have an Editable grid that I need to do a unique validation on...
When the form is submitted, i need it to compare the old and new values of changed elements.
I can do this, but right now I am doing the comparison in BeforeBuildUpdate, and the comparison works fine.
however, i can't seem to cancel the update if the comparison reveals an illegal change.
i have tried header("Location: " . $Redirect);but that does not seem to prevent the update.
I don't know if putting the code in OnValidate would make it work better.
Any ideas?
PS. I don't want to do this client-side...
|