URL Validation
-
I have added the default Facebook, Instagram, YouTube and Twitter fields onto the profile page and they are all set to validate by their respective provided methods.
Using the Facebook one as an example, if I enter:
I get the message:
Please enter a valid Facebook username or profile URL
What does it exactly mean by “username”?
Continuing with my example, the username would be “blah”, and if I enter just that, URL displayed is:
What does the validation actually validate? Surely I shouldn’t just be able to enter the word “blah” as that is not a valid URL? If it can somehow work out that a username has been entered, then surely the resulting URL should have “https://facebook.com/” as a prefix?
- The topic ‘URL Validation’ is closed to new replies.