CMS Development

MFenske
メンバー

Is it possible to print a completed form when submitting

Is it possible to add a print option to a form that the user completing the form on a website can print a copy of their completed form while submitting?

0 いいね!
3件の返信
MFenske
メンバー

Is it possible to print a completed form when submitting

Thank you Jaycee,

 

The Form the we are trying to apply this function to is one we have built in Hubspot Forms.

 

Thank you,

Matt

0 いいね!
Jaycee_Lewis
コミュニティーマネージャー
コミュニティーマネージャー

Is it possible to print a completed form when submitting

Hey, @MFenske 👋 That will be more of a challenge. One thought is to use workflows and automated emails, to send an email after the form submission. This would allow you to use Contact properties as personalization tokens and include the values added to a contact's record via your form.  

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 いいね!
Jaycee_Lewis
コミュニティーマネージャー
コミュニティーマネージャー

Is it possible to print a completed form when submitting

Hey, @MFenske 👋 Thanks for your post! 

 

Can you clarify what type of form you are using? Is it a HubSpot created form, a third-party form, or a custom coded form that submits via one of the Forms API endpoints? 

 

If it's the third option, you can look into using JavaScript to either:

  • After form validation and right before or after the form data is submitted, you can add JavaScript to trigger the print dialogue
  • If you'd prefer a PDF, using a client-side JavaScript library like jsPDF to create a PDF from the form data is worth looking into

Have fun building! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 いいね!