To modify the fields in the iDC Account Creation Application page you need to access your server and navigate into the /FileManager/Templates folder where you will see a file named "Application.html"
This is the main template for the application page.
At the head of this page is the script:
<script type="text/javascript">
function error(){
if (document.inst.first.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#first_name%%"); document.inst.first.focus() ;return false;}
if (document.inst.last.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#last_name%%"); document.inst.last.focus() ;return false;}
if (document.inst.address.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#address%%"); document.inst.address.focus() ;return false;}
if (document.inst.city.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#city%%"); document.inst.city.focus() ;return false;}
if (document.inst.state.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#state%%"); document.inst.state.focus() ;return false;}
if (document.inst.zip.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#zip%%"); document.inst.zip.focus() ;return false;}
if (document.inst.country.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#country%%"); document.inst.country.focus() ;return false;}
if (document.inst.email.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#email%%"); document.inst.email.focus() ;return false;}
if (document.inst.phone.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#phone%%"); document.inst.phone.focus() ;return false;}
if (document.inst.login.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#client_username%%"); document.inst.login.focus() ;return false;}
if (document.inst.password.value=="") {alert("%%MESS#pleaseenter%%: %%MESS#client_password%%"); document.inst.password.focus() ;return false;}
return true;
}
</script>
When you submit the form it checks that each input contains a value and if it does not then returns an error message.
You simply need to remove or edit the lines for the inputs you do not require.
You may also want to remove the "*" in front of the fileds which were required and now are not.
When you have made the required changes simply save and re-upload the "Application.html" file.
© Copyright i Dot Communications