Skip Navigation

[Resolved] URL custom field does not take address with http:// or https://

This support ticket is created 4 years ago. 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 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by himanshuS 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#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:
hidden link
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 hidden link 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!