Employee portal
Registration
Upcoming events
Register
Fill the form below to create an account.
// 1) Before you return $html, dump your $forms array into JS:
$html .= '';
// 2) Make your form non-reloading:
$html .= '';
// 3) Container to receive the embed:
$html .= '';
// 4) Client-side script to swap in the embed:
$html .= <<
document.addEventListener('DOMContentLoaded', function(){
var selector = document.getElementById('wufoo-selector');
var dropdown = document.getElementById('selected_form');
var container = document.getElementById('wufoo_form_container');
document.getElementById('loadForm').addEventListener('click', function(e){
e.preventDefault();
var key = dropdown.value;
container.innerHTML = wufooForms[key] || '
No form found
'; }); }); JS;