Passer la navigation

[Résolu] URL custom field does not take address with http:// or https://

This support ticket is created Il y a 4 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par himanshuS Il y a 4 années et 6 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1889227
settings.png
page.png

I have a required url field but it only takes addresses with http or https in front of it.
A user would not know to add http or https to the url. What am I missing here?

#1890417

Hello,

According to URL definition:
lien caché
The "scheme" is required.

In your case, you might consider to disable the URL validation option.

#1890735

You are telling me a technical reason for why this does not work. I am asking you from business point of view. Is there no way to really validate if a lien caché format is provided or not?

Asking users to provide schema is too much as people don't have that much time. I am surprised toolset does not have a better validation for a link.

#1891147

This is how the URL validation works, I don't think there is other better validation for it, see my first answer above:
https://toolset.com/forums/topic/url-custom-field-does-not-take-address-with-http-or-https/#post-1890417

#1891609

My issue is resolved now. Thank you!