attendance validation form done for non javascript browser