I found article 3499673 on the Knowledge Center that describes how to enforce required on a webform HTML view. The solution is to create a function (among other things) and reference each attribute to be required (see below). It seems to work but I'm not sure how to refer to a date field, eg. .value, .selectedindex. Can someone help? Thanks.
function checkRequiredAndSubmit()
{
if ( document.myForm._1_1_2_1.value == '' )
{
alert( 'You must enter a Name.' );
}
else if ( document.myForm._1_1_3_1.value == '' )
{
alert( 'You must select one or more States.' );
}
else if ( document.myForm._1_1_7_1.selectedIndex == 0 )
{
alert( 'You must select a Reviewer.' );
}
else if ( document.myForm._1_1_5_1.value == '' )
{
alert( 'You must choose a Manager.' );
}
else
{
document.myForm.submit();
}
}
function checkRequiredAndSubmit()
{
if ( document.myForm._1_1_2_1.value == '' )
{
alert( 'You must enter a Name.' );
}
else if ( document.myForm._1_1_3_1.value == '' )
{
alert( 'You must select one or more States.' );
}
else if ( document.myForm._1_1_7_1.selectedIndex == 0 )
{
alert( 'You must select a Reviewer.' );
}
else if ( document.myForm._1_1_5_1.value == '' )
{
alert( 'You must choose a Manager.' );
}
else
{
document.myForm.submit();
}
}