API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
$document = & JFactory::getDocument() |
$script |
'<!-- function validateForm( frm ) { var valid = document.formvalidator.isValid(frm); if (valid == false) { // do field validation if (frm.email.invalid) { alert( "' . JText::_( 'Please enter a valid e-mail address.', true ) . '" ); } else if (frm.text.invalid) { alert( "' . JText::_( 'CONTACT_FORM_NC', true ) . '" ); } return false; } else { frm.submit(); } } // -->'
Référencé par JInstallationModel::checkUpload(), JHTMLBehavior::keepalive(), JHTMLBehavior::modal(), JHTMLBehavior::tooltip(), JHTMLBehavior::tree(), JInstallationHelper::unpack(), JHTMLBehavior::uploader(), et JInstallationHelper::uploadSql().