i have a from just simple form there is an input field for Linkedin url. Is there is anyway to validate that field only accepts linkedin url? Thanks
i have a from just simple form there is an input field for Linkedin url. Is there is anyway to validate that field only accepts linkedin url? Thanks
2
Answers
Using
JS
you can check if the input value matches a pattern for a LinkedIn URL, Like this demo:Examples of valid URLs:
Examples of not valid URLs:
Using JS you can check if the input value matches a pattern for a LinkedIn URL.I hope solve your problem: