      body: JSON.stringify(formObject)
                });

                const data = await response.json();

                if (response.ok) {
                    document.getElementById('signup-result').innerHTML =
                        `<div class="success">‚úÖ Signup test successful! ${data.message || 'Form submitted'}</div>`;
                } else {
                    document.getElementById('signup-result').innerHTML =
                        `<div class="error">‚ùå Signup error: ${dat