add validation to the mobilead.html scaffolding