Hello all, Just found a solution for doing a basic validation on fields before submit on a hubspot form. Conditions: Raw html form Include jquery Code <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "...",
portalId: "123123",
formId: "xxxxxxx",
onFormReady: function () {
// Use a more specific selector if poss
...read more
Hi, Part of our business is selling services. I'd like to create a new Deal Property that gets its value from a calculation. In two deal properties we set 'Start Date' and 'End Date' . This allows for a quick (and correct) return for 'Project Duration '. Now I want to use the output of 'Project Duration' and the deal 'Amount ' to calculate the value of a new Deal Property --> Monthly Contract Value. In my simple attempt,
...read more
Hey, HubSpot Developers! There are plenty of questions about the upcoming sunset and how to migrate your apps using API keys to use Private Apps.
Luckily, our amazing team put together this guide, Migrate an API key integration to a private app
Changelog information here — Upcoming: API Key Sunset
If you have questions about the guide or the information included, please leave your feedback in the comments. If you have spe
...read more
I wanted to get some opinions on which direction to go based on a custom project scenario we have. First, a little background...
Phase 1 - Created a dashboard webpage that is set to "private - registration required" and displays data from a custom object based on the user that's logged in. This is working correctly but hasn't been taken live yet. Currently creating the project in a sandbox.
Phase 2 - This is the part where we wan
...read more
tl;dr -- Submit this form to add suggestions for additional how-to content
Happy New Year, everyone!
I am sure you all are easily sticking to your resolutions
We have this fellow named @AJLaPorte from the HubSpot Developer Advocacy team who has a resolution of his own. Create content that will make your lives as HubSpot developers easier.
But, he needs some help. What kind of content would you like to see? Fill in
...read more
Hey everyone, I was wondering if there is a way to track when a user logs in through the membership login templates. I need to add tracking through GTM; but there doesn't seem to be an event or api to check whether a login is successful. Thanks for read more
I use the following format to be able to retrieve all the data for a given object: function.basic_api.get_page( limit = 100 , properties = properties, associations = associations, archived = False , after = after) read more
I'm a marketer/wannabe developer trying to pass the CMS for Developers course. I went and completed a Codecademy Javascript course first before diving in here, and in past jobs I was primarily a front-end web developer (html/css). Wrapping my b read more
Hi @drewspotshubs I'm also a marketer with dev experience and am currently working on my practicum as well.
I am building the theme fully fro...read more
I’m getting pushback from my developers in regards to pushing some of our product data into a custom object in HubSpot. So they wanted me to look into if either of these alternatives are viable for pulling data into a HubSpot email. My company b read more
Hi - I hope that you are Doing good !! Try to pull data from a third-party API into a HubSpot email. HubSpot allows you to use custom HTML and HubL...read more
Hello everyone! My CMS theme uses some URLs, and I would like to know if there is any way to store the URLs as global variables so I can access those variables across my CMS theme rather than hardcoding all the URLs one by one on every module.