Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: a1programmerPosted on 2004-12-14 at 07:23:57ID: 12820150
Notice changes to the values returned by the function, and onSubmit in the form tag.
tions[docu ment.code. transfer.s electedInd ex].value == 'Choose code type:')
tions[docu ment.code. transfer.s electedInd ex].value == '-')
elect name="transfer" onChange="submit();" size="1" STYLE="width: 142px;"><option value="Choose" SELECTED>Choose code type:</option><option value="-">---------------- --------</ option><op tion value="New">New</option><o ption value="Transfer">Transfer< /option></ select>
<script language="javascript">
function empty(){
var errors='';
if (document.code.transfer.op
errors+='Please select New or Transfer';
if (document.code.transfer.op
errors+='Please select New or Transfer';
if (errors) {
alert('The form is unable to submit due to the following error(s):'+errors+'Please make changes and submit again.');
return false;
}
return true;
}
</script>
<body bgcolor="#EEEEDD" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<form name="code" onsubmit="return empty();" action="index2.cgi" method="POST"><input type="hidden" name="action" value="step2">
<form><input type="hidden" name="action" value="generate">
Code Type: <s
</form>