We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 27, 2022 7:24 AM
Hi, I want to validate and make sure no one put anything in place of linkedin profile url, it should give user an error if a proper profile url is not entered by user, any way to validate it? Thanks
Solved! Go to Solution.
Jan 27, 2022 7:34 AM
Hi there,
HubSpot doesn't offer this out of the box but it's possible to add custom validation via JavaScript, using the onFormSubmit callback of the forms API.
A former HubSpot employee has compiled resources in this post: How to work with jquery custom validation for hubspot form
In other words, this will require some custom code and potentially the help of a developer.
Best regards!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
Jan 30, 2022 6:52 AM - edited Feb 1, 2022 2:20 PM
Thanks
Jan 27, 2022 7:34 AM
Hi there,
HubSpot doesn't offer this out of the box but it's possible to add custom validation via JavaScript, using the onFormSubmit callback of the forms API.
A former HubSpot employee has compiled resources in this post: How to work with jquery custom validation for hubspot form
In other words, this will require some custom code and potentially the help of a developer.
Best regards!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |