Add validation to project forms