in file includes/modules/pages/WHATEVER_PAGE_YOUR_FORM_IS_ON/jscript_addr_pulldowns.php
find:
PHP Code:
function showStateField(theForm) {
theForm.state.disabled = true;
theForm.state.className = 'inputLabel visibleField';
theForm.state.setAttribute('className', 'visibleField');
document.getElementById("stateLabel").className = 'inputLabel visibleField';
document.getElementById("stateLabel").setAttribute('className', 'inputLabel visibleField');
document.getElementById("stText").className = 'alert visibleField';
document.getElementById("stText").setAttribute('className', 'alert visibleField');
document.getElementById("stBreak").className = 'clearBoth visibleField';
document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');
}
replace with:
PHP Code:
/**
function showStateField(theForm) {
theForm.state.disabled = true;
theForm.state.className = 'inputLabel visibleField';
theForm.state.setAttribute('className', 'visibleField');
document.getElementById("stateLabel").className = 'inputLabel visibleField';
document.getElementById("stateLabel").setAttribute('className', 'inputLabel visibleField');
document.getElementById("stText").className = 'alert visibleField';
document.getElementById("stText").setAttribute('className', 'alert visibleField');
document.getElementById("stBreak").className = 'clearBoth visibleField';
document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');
}
*/
or just change:
PHP Code:
theForm.state.disabled = true;
to:
PHP Code:
theForm.state.disabled = false;
that will leave the state input box on page but disable it.
also in file: /includes/languages/english.php
find:
PHP Code:
define('TYPE_BELOW', 'Type a choice below ...');
change to:
PHP Code:
define('TYPE_BELOW', 'Choose your Country First');
Hope this helps?
Bookmarks