Skip to main content
Solved

Sending form data to email via a CTA button

  • June 17, 2024
  • 3 replies
  • 48 views

We’ve got some custom Javascript on our public homepage, which creates a form that pops up and asks users to enter information in a few different fields. We’d like to then have the “Submit” button email that form data to a specific e-mail inbox. Anyone else doing something similar, and if so, how did you configure it? 

Best answer by charles.zimmerman

We’ve got some custom Javascript on our public homepage, which creates a form that pops up and asks users to enter information in a few different fields. We’d like to then have the “Submit” button email that form data to a specific e-mail inbox. Anyone else doing something similar, and if so, how did you configure it? 

Greetings.  What you have starts with HTML and CSS and then JavaScript tells it to locally gather data and then you would need a backend and host for that backend.  This is about 10 percent complete DIY.  I suggest you use a secure host like AWS or see your IT.  Here is what the HTML and CSS will produce. It’s non functioning because it’s missing the JavaScript and backend hosting.  Best wishes

 

3 replies

jonsynnott
  • TI Employee
  • December 2, 2024

Hi ​@rncalton 

 

Bumping this up to the top to see if anyone is integrating with an email provider to have a details from a form sent to an email inbox.

I spoke to my team and no one was aware of any client doing this but they suggested you could possible use a middleware tool like Zapier, Workato, Make or Mulesoft to reeive the information and then send to mailbox.

Best

JOn


charles.zimmerman
Forum|alt.badge.img+3

We’ve got some custom Javascript on our public homepage, which creates a form that pops up and asks users to enter information in a few different fields. We’d like to then have the “Submit” button email that form data to a specific e-mail inbox. Anyone else doing something similar, and if so, how did you configure it? 

Greetings.  What you have starts with HTML and CSS and then JavaScript tells it to locally gather data and then you would need a backend and host for that backend.  This is about 10 percent complete DIY.  I suggest you use a secure host like AWS or see your IT.  Here is what the HTML and CSS will produce. It’s non functioning because it’s missing the JavaScript and backend hosting.  Best wishes

 


jonsynnott
  • TI Employee
  • December 3, 2024

Thank you ​@charles.zimmerman 

 

@rncalton I hope this helps you in some way.

 

Kind regards

 

Jon