Embed demo form to Code-Insights pg#5268
Conversation
|
Notifying subscribers in CODENOTIFY files for diff d0ba84d...300d97a.
|
bretthayes
left a comment
There was a problem hiding this comment.
This looks good, but is the form also supposed to be in the hero, replacing the request a demo button? Seems like the ticket request mentions implementing the forms similar to the dev onboarding page. Might be a good idea to confirm this with @elzannewentzel.
Hmm, yea it's probably wanted for both "Request demo" button spots on the page. Updated! 👍 @bretthayes |
There was a problem hiding this comment.
Sweet, meets the ticket requirements! Thanks @st0nebraker!
Just need a +1 from @elzannewentzel before merging.
|
@st0nebraker Can you have a look at the form duplication in the header, please? |
|
@st0nebraker For the errors, Greg had a look and Hubspot does not seem to have a lot of flexibility around the errors. He suggested trying this to hide one of the errors. |
Hi @elzannewentzel , the duplication has to do with a quirk in our staging environment. Is that right, @bretthayes ? A few weeks back Brett was having this issue, but the form was fine on local and prod. Looking into hiding the |
|
Is this PR approved by QA otherwise @elzannewentzel ? The form error enhancement will take more digging as it can't be styled in our repo, it has to be done on HubSpot itself. I made a follow-up story to bring this enhancement in later. It's not technically a bug but an enhancement since this is expected behavior of the form. |
|
@st0nebraker Yes approved otherwise, thank you for checking! |
|
For context, we can't style or add style overrides to our HubSpot forms directly with CSS in the codebase or any content inside iframe elements that live outside our domain because it's an XSS cross-site-scripting issue. The only way we'll be able to style forms is to modify the global HubSpot stylesheet that lives on HubSpot or use the very limited styling abilities in HubSpot's form builder. Another option would be to leverage building custom forms/form components and use the HubSpot API, but that has a bigger scope. It would be nice to have prettier forms in the future. ✨ |


Closes #5235 by embedding new HubSpot Request Demo form
Test
Navigate to
/code-insightsand ensure new form meets requirementsBEFORE


AFTER

