Skip Navigation

[Resolved] allow url without http

This support ticket is created 8 years, 6 months 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.

This topic contains 3 replies, has 2 voices.

Last updated by Ross Fisher 8 years, 6 months ago.

Assisted by: Ross Fisher.

Author
Posts
#341146

q1

Hi,

I am having some trouble with the url validation used by types in a cred form. When I check URL validation in the backend then at the frontend the input field checks the url if it is valid which is good. I also understand that a fully correct url would be hidden link but it would be nice to offer the user the possibility to skip the http:// part or maybe also the www. part.

I found a possible solution (http://stackoverflow.com/questions/12938027/how-to-extend-jquery-validate-url-validation) to modify the jquery validate rule for urls but it doesn't seem to work.

Is it even possible?

Thanks a lot for your help!

#341568

Thank you for contacting Toolset, I'd be delighted to assist!

The WWW prefix is dependent upon your DNS settings and also your WordPress install settings. I'd also check your htacces settings if using Apache to be sure www rewriting isn't on if you want to drop www: https://wordpress.org/support/topic/wordpress-and-www-prefix

As for https, this is required for any webpage as it is the protocol the browser is accessing - same as ftp:// and smb:// for example.

Let me know who you have your domain registered through, your web host and plan you are on if you'd like more specific instructions on turning off/on www!

#341680

q1
Screen Shot 2015-10-22 at 09.56.15.png

Hi,

thanks for your reply. But I meant the URL validation in the post form for the entered value (see screenshot).

My question is if it would be possible to configurate CRED or the jQuery Validate Plugin to allow "www.domainname.tld" or "domainname.tld" as valid URLs? Currently it seems that the jQuery Validate Plugin used by the CRED post form only accepts URLs with "hidden link".

Thanks for your help!

#341903

This is not possible at this time. I will submit a feature request to our developers for this, keep an eye on our changelogs over at https://toolset.com/account/downloads/

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.