# Synchronize Dates To Website Content?

**URL:** <https://community.hubspot.com/t/synchronize-dates-to-website-content/76757>\
**Category:** CMS Development\
**Created:** [March 8, 2023, 4:58pm UTC](https://community.hubspot.com/t/synchronize-dates-to-website-content/76757 "2023-03-08T16:58:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RMechergui](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmechergui/32/56635_2.png) [@RMechergui](https://community.hubspot.com/u/RMechergui)\
**Post date:** [March 8, 2023, 4:58pm UTC](https://community.hubspot.com/t/synchronize-dates-to-website-content/76757/1 "2023-03-08T16:58:49Z")

</div>

Hi, Hubspot Developers

We are using the WordPress platform to run our website, On the website pages we have different dates that are identical to our HubSpot forms, the problem is every time we try to change a date on one of the forms we need to do it on every page.

My question is there any way I can synchronize the ‘dates’ of the forms with the dates on pages This means just when I change the date on the HubSpot account the date will change automatically on the WordPress website?

Thank you.

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [March 8, 2023, 5:11pm UTC](https://community.hubspot.com/t/synchronize-dates-to-website-content/76757/2 "2023-03-08T17:11:46Z")

</div>

If I’m understanding you correctly there’s some element in your Hubspot form that displays a date, is that right?  
I’m guessing you’d need to use javascript if you were trying to pull a date from within a Hubspot form to some other element on your wordpress page.

Specifically you’d prbably need to use the OnFormLoad [Global Event Listener.](https://legacydocs.hubspot.com/global-form-events)

Then within that you’d need to copy the date from whatever form element houses it to wherever you want it on your Wordpress page.

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)

---

<div class="post-metadata">

**Author:** ![RMechergui](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmechergui/32/56635_2.png) [@RMechergui](https://community.hubspot.com/u/RMechergui)\
**Post date:** [March 8, 2023, 5:52pm UTC](https://community.hubspot.com/t/synchronize-dates-to-website-content/76757/3 "2023-03-08T17:52:49Z")

</div>

Hi, Barry

Yes, you’re right, but I’m not good at writing javascript code, I will be really appreciated it if you could show me an example to use it, here are the links to an example:

Link to the form: [https://www.codingdojo.africa/apply-full-time-onsite/](https://www.codingdojo.africa/apply-full-time-onsite/)

Link to the program page that associate with the form: [https://www.codingdojo.africa/coding-bootcamp/](https://www.codingdojo.africa/coding-bootcamp/)

Thank you

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [March 9, 2023, 1:35pm UTC](https://community.hubspot.com/t/synchronize-dates-to-website-content/76757/4 "2023-03-09T13:35:53Z")

</div>

Your form is on a different page to the page you want it to affect?

This is definitely a custom code job. You’d need to hire a Wordpress developer to create a plugin for you that let’s you point page one to page 2 to pull the information. It’s maybe possible with ajax but I don’t imagine it’s a quick job, definitely a number of hours of work.

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)
