Add real form submission handler with ERPNext proxy
This commit is contained in:
parent
f997070b36
commit
50469c3f60
3 changed files with 70 additions and 21 deletions
|
|
@ -23,10 +23,10 @@
|
|||
<div class="container">
|
||||
<h1 class="logo">Syntropy Talent</h1>
|
||||
<nav class="nav">
|
||||
<a href="../index.html">Home</a>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="job-seeker.html">Job Seeker</a>
|
||||
<a href="employer.html">Employer</a>
|
||||
<a href="../contact.html">Contact</a>
|
||||
<a href="contact.html">Contact</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -101,13 +101,6 @@
|
|||
</footer>
|
||||
|
||||
<script src="js/script.js"></script>
|
||||
<script>
|
||||
// Form handling for staging
|
||||
document.getElementById('employerForm')?.addEventListener('submit', function(e) {
|
||||
e.preventDefault();
|
||||
alert('Hiring request submitted! (In production, this would send data to ERPNext)');
|
||||
this.reset();
|
||||
});
|
||||
</script>
|
||||
<script src="js/form-handler.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue