added some validation on the url form item