Added Valid and Invalid Callback examples.
Support for 'valid' and 'invalid' callback examples.