use input type="url" for preview button to use browser URL validation