Replace this excerpt with something else, or hide per page.
Corporate Office:
1500 Post Rd Plover, WI 54467 Phone: (715) 344-4747
Western Office:
2022 W 22nd Ave Bloomer, WI 54724 Phone: (715) 408-4128
Hours:
Monday – Friday: 7AM – 4PM
Saturday: Closed
Parts Department
Main: (715) 803–4051 Secondary: (715) 803-4398
Submit Your Inquiry
document.addEventListener(“DOMContentLoaded”, function() {
// 1. Grab parameters from the URL
const urlParams = new URLSearchParams(window.location.search);
const type = urlParams.get(‘type’);
// 2. Locate the WPForms dropdown
const dropdown = document.querySelector(‘.wpforms-field-select select’);
if (dropdown && type) {
// 3. Small delay to ensure the form is fully rendered
setTimeout(function() {
if (type === ‘request_quote’) {
setDropdownByText(dropdown, “Requesting A Product Quote”);
}
// Trigger change event so any conditional logic in WPForms fires
dropdown.dispatchEvent(new Event(‘change’));
}, 200);
}
// Helper function to find the option by text label
function setDropdownByText(selectElement, textToFind) {
const options = selectElement.options;
for (let i = 0; i < options.length; i++) {
if (options[i].text.trim().toLowerCase() === textToFind.trim().toLowerCase()) {
selectElement.selectedIndex = i;
break;
}
}
}
});