Validation For button in Demo3