[rosa-users] Question

Paul Talledo ptalledo at ibcperu.org
Thu Jun 8 12:05:39 EDT 2006


good morning, I have a problem, I have this function to handle the size of
the map, but always it leaves east error to me :
loadForm(): Web application error. Not enough arguments for mapsize.

the function is:
<SCRIPT LANGUAGE="JavaScript">
function MapSizeSelected(){
    if (document.forms[0].MapSize.selectedIndex != 0 &&
        document.forms[0].MapSize.selectedIndex !=1){
	    document.forms[0].submit();
		}
}
</SCRIPT>

the name of my form is the following one:
<form action="/cgi-bin/ms/mapserv_44.exe" name="myform" method="get">

and the call of the function is:
<SELECT NAME="MapSize" onChange="MapSizeSelected()">
<OPTION>Tamaño Mapa</OPTION>
<OPTION>-----------------------</OPTION>
<OPTION VALUE="600,450" SELECTED> 600 x 450</OPTION>
<OPTION VALUE="800,600"> 800 x 600</OPTION>
</SELECT>

please give a solution to this problem
very been thankful
PAUL ALEXANDER TALLEDO CORDOVA



More information about the ROSA-users mailing list