Mandatory Items Invalid Form

In front end edit when a user tries to save empty mandatory field we get "invalid form popup". The error message "Invalid Field" is displayed after OK.
Can we turn off the popup and also send focus to missing field.

Comments

  • Hi,

    It would be possible to remove the alert (popup), although you would have to do that directly in layout file:
    /components/com_djcatalog2/views/itemform/tmpl/default.php

    The line of code:
    alert('<?php echo $this->escape(JText::_('JGLOBAL_VALIDATION_FORM_FAILED'));?>');
Sign In or Register to comment.