Guest_imported
New member
- Jan 1, 1970
- 0
i have a field called in[field5] that i want to check on form submit bit it wont allow me to use
form.in[field5].value
i cant change the field name either... any ideas anyone
below is an example of what i am using
<script language=javascript>
function checkform(form)
{
if (form.in[field5].value == ""
{
alert( "Please enter your email address." );
return false ;
}
return true ;
}
</script>
<form enctype="multipart/form-data" action=classified_upd_submit.php METHOD=POST onsubmit="return checkform(this);">
music :<input type=text name="in[field5]" value="">
<input type=submit>
</form>
form.in[field5].value
i cant change the field name either... any ideas anyone
below is an example of what i am using
<script language=javascript>
function checkform(form)
{
if (form.in[field5].value == ""
alert( "Please enter your email address." );
return false ;
}
return true ;
}
</script>
<form enctype="multipart/form-data" action=classified_upd_submit.php METHOD=POST onsubmit="return checkform(this);">
music :<input type=text name="in[field5]" value="">
<input type=submit>
</form>