} var form = document.adminForm; if (form.catid.value == "0"){ alert( "<?php echo html_entity_decode(JText::_('JEV_E_WARNCAT')); ?> " ); return(false); } else { //alert('about to submit the form'); submitform(pressbutton); } } <?php echo JEventsHTML::buildScriptTag('end'); ?> <table style="width:90%"> <tr> <td style="font-weight:bold"> <?php echo JText::_("Unique_Identifier"); ?> </td> <td><input class="inputbox" type="text" name="icsLabel" id="icsLabel" value="<?php echo $label; ?> " size="80" /> </td> </tr> <tr> <td style="font-weight:bold"> <?php echo JText::_("JEV_CALENDAR_OWNER");