Contact email form input field...

User 2361117 Photo


Registered User
115 posts

I am in the process of modifying a one-page responsive website theme (created using bootstrap 4 framework) using the paid version of HTML Editor (version 16.1, build 808 to be exact) for launching a new business in SEO. I have a general question regarding a built-in contact form whereby I have added an input field (type = URL) for the user to enter his/her website address. Apart from being a required field, the form provides built-in field validation that checks to make sure the URL entered by the user is properly formatted, i.e., https://www.example.com. However, when testing the form, I recently noticed that the field validation fails to address/prevent the user from entering https://example, eliminating the .com. While I am a stickler for perfection, I also don't want to over-think this. As such, I am wondering whether this issue deserves to be addressed or left alone. What say u? For those interested, the website is seoauditspecialists.com (a work in progress). Thank you ahead of time.
User 187934 Photo


Senior Advisor
20,245 posts

Hi Boilermaker,
Try this pattern.
pattern="[Hh][Tt][Tt][Pp][Ss]?:\/\/(?:(?:[a-zA-Z\u00a1-\uffff0-9]+-?)*[a-zA-Z\u00a1-\uffff0-9]+)(?:\.(?:[a-zA-Z\u00a1-\uffff0-9]+-?)*[a-zA-Z\u00a1-\uffff0-9]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,}))(?::\d{2,5})?(?:\/[^\s]*)?"
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2361117 Photo


Registered User
115 posts

Thanks Eric. However, I really just wanted a general opinion as to whether or not it's even worth considering to address what appears to be a minor nuance in my contact form.
User 187934 Photo


Senior Advisor
20,245 posts

boilermaker73 wrote:
I am a stickler for perfection

I think you have to determine your needs. If it won't keep you up at night.....:lol:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.