added examples for isRequired validator