Blog

Suddenly one of my custom component admin form stop working Was debugging different way removing all extra js from the page but no luck. Then after research I got this solution.
In console I was getting this error
Uncaught TypeError: Cannot read property 'task' of null core.js:4
Joomla.submitform core.js:4
Joomla.submitbutton core.js:4
<form action="<?php echo JRoute::_('index.php?option=com_mag&layout=edit&id=' . (int) $this->item->id); ?>" method="post" enctype="multipart/form-data" name="adminForm" id="adminForm" class="form-validate">
Form ID should be id="adminForm"

Latest Tweets

Get In Touch

  • Middle Badda, Gulshan-1,Dhaka-1212,
    Bangladesh.
  • info@techlabpro.com
  • +88 01728038442
Copyright 2010-2015 by TechLabPro.com