Compare commits
3 commits
f61f4a7f34
...
d34dda976a
Author | SHA1 | Date | |
---|---|---|---|
d34dda976a | |||
5863201451 | |||
|
a91feb494f |
2 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
// Construct the mailto link
|
// Construct the mailto link
|
||||||
const subject = `Support Ticket #${ticketNumber}`;
|
const subject = `Support Ticket #${ticketNumber}`;
|
||||||
const body = `Name: ${name}%0AEmail: ${email}%0AMessage:%0A${message}`;
|
const body = `Name: ${name}%0AEmail: ${email}%0AMessage:%0A${message}`;
|
||||||
const mailtoLink = `mailto:info@photofuel.tech?subject=${subject}&body=${body}`;
|
const mailtoLink = `mailto:example@example.com?subject=${subject}&body=${body}`;
|
||||||
|
|
||||||
// Open the default mail client
|
// Open the default mail client
|
||||||
window.location.href = mailtoLink;
|
window.location.href = mailtoLink;
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
<!-- Contact Form -->
|
<!-- Contact Form -->
|
||||||
<section id="contact">
|
<section id="contact">
|
||||||
<h2>Contact Us</h2>
|
<h2>Contact Us</h2>
|
||||||
|
<p>This contact form has an invalid mail until our mailserver is configured</p>
|
||||||
<form id="contactForm">
|
<form id="contactForm">
|
||||||
<label for="name">Name:</label>
|
<label for="name">Name:</label>
|
||||||
<input type="text" id="name" name="name" required />
|
<input type="text" id="name" name="name" required />
|
||||||
|
|
Loading…
Reference in a new issue