I have a form in Joomla that uses XML:
<form action="index.php?option=com_content&view=contents" method="post" id="adminForm" name="adminForm">
<?php $this->form->renderFieldset("visitorDetails") ?>
<button class="btn btn-primary" type="button" onclick="Joomla.submitbutton('controller.send')" >Send</button>
</form>
it works fine, the problem is that when i want to change the ID from adminForm
to any other name, it won't work. Does Joomla only accept adminForm
as ID?