High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form - PinchTab Benchmark</title>
</head>
<body>
<header>
<nav><a href="/">Home</a> | <a href="/form.html">Form</a></nav>
</header>
<main>
<h1>Contact Form — VERIFY_FORM_PAGE_22222</h1>
<form id="contact-form">
<div class="form-group">
<label for="fullname">Full Name:</label>
<input type="text" id="fullname" name="fullname" required>
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone">
</div>
<div class="form-group">
<label for="country">Country:</label>
<select id="country" name="country">
<option value="">Select a country</option>
<option value="us">United States</option>
<option value="uk">United Kingdom</option>
<option value="de">Germany</option>
<option value="fr">France</option>
<option value="it">Italy</option>
<option value="jp">Japan</option>
</select>
</div>
<div class="form-group">
<label for="subject">Subject:</label>
<select id="subject" name="subject">
<option value="">Choose a subject</option>
<option value="general">General Inquiry</option>
<option value="support">Technical Support</option>
<option value="sales">Sales Question</option>
<option value="feedback">Feedback</option>
</select>
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea id="message" name="message" rows="5"></textarea>
</div>
<div class="form-group">
<label>
<input type="checkbox" id="newsletter" name="newsletter">
Subscribe to newsletter
</label>
</div>
<div class="form-group">
<label>Priority:</label>
<label><input type="radio" name="priority" value="low"> Low</label>
<label><input type="radio" name="priority" value="medium" checked> Medium</label>
<label><input type="radio" name="priority" value="high"> High</label>
</div>
<div class="form-actions">
<button type="submit" id="submit-btn">Submit Form</button>
<button type="reset" id="reset-btn">Reset</button>
</div>
</form>
<div id="form-errors" style="display: none; color: red; margin-bottom: 20px; border: 1px solid red; padding: 10px;">
<h3>Validation Errors:</h3>
<ul id="error-list"></ul>
</div>
<div id="form-result" style="display: none;">
<h2>Form Submitted Successfully!</h2>
<p class="verification-text">VERIFY_FORM_SUBMITTED_SUCCESS</p>
<div id="submitted-data"></div>
<button type="button" id="reset-form-btn" onclick="resetForm()">Reset Form</button>
</div>
</main>
<script>
document.getElementById('contact-form').addEventListener('submit', function(e) {
e.preventDefault();
const form = e.target;
const errors = [];
// Validation
if (!form.fullname.value.trim()) {
errors.push('Full Name is required');
}
if (!form.email.value.trim()) {
errors.push('Email is required');
} else if (!form.email.value.includes('@')) {
errors.push('Email must be valid');
}
if (!form.country.value) {
errors.push('Country is required');
}
if (!form.subject.value) {
errors.push('Subject is required');
}
if (errors.length > 0) {
// Show errors
const errorList = document.getElementById('error-list');
errorList.innerHTML = errors.map(e => `<li>${e}</li>`).join('');
document.getElementById('form-errors').style.display = 'block';
return;
}
// Hide errors if form is valid
document.getElementById('form-errors').style.display = 'none';
const data = {
fullname: form.fullname.value,
email: form.email.value,
phone: form.phone.value,
country: form.country.value,
subject: form.subject.value,
message: form.message.value,
newsletter: form.newsletter.checked,
priority: form.priority.value
};
document.getElementById('form-result').style.display = 'block';
document.getElementById('submitted-data').innerHTML = `
<ul>
<li>Name: ${data.fullname.toUpperCase()}</li>
<li>Email: ${data.email}</li>
<li>Country: ${data.country}</li>
<li>Subject: ${data.subject}</li>
</ul>
<p>SUBMISSION_DATA_NAME_${data.fullname.replace(/\s/g, '_').toUpperCase()}</p>
<p>FORM_VALIDATION_THEN_SUCCESS</p>
${!data.phone ? '<p>OPTIONAL_FIELD_SKIPPED_SUCCESS</p>' : ''}
`;
form.style.display = 'none';
});
function resetForm() {
const form = document.getElementById('contact-form');
form.reset();
form.style.display = '';
document.getElementById('form-result').style.display = 'none';
}
</script>
</body>
</html>