Url attribute gives error when creating listing

Hi all,

One of the optional attributes I would like my vendors to fill in when they create a listing is their website.
When I created this attribute I selected “URL” as “Field type”.
When I tested creating a listing today this field of the form keeps giving an error. (see image)
How can I fix this?

Hi,
Currently these fields are validated by the browser and browsers require URLs to start with http:// or https://. The browser should definitely indicate this, but we don’t have control over the native browser validation messages.

1 Like

Wow, that I didn’t think of that…
Thank you very much!

1 Like

You can also select some Display Areas for this website url attribute if you want to show it on the listing page or inside the listing block. You can also set this Display Format:

<a href="%value%" target="_blank">Visit Our Website Link</a> 

I’ve set the target attribute to “_blank”, the link will open in a new browser window or a new tab.

1 Like