Delete validation now handles arrays.
Edit validation on client side has been implemented.