Unable to set the URL field as required