added required form conditions