JToolbarHelper::save2new('save2new');
JToolbarHelper::save2new('save2new', 'Save & Add New');The above code will add a 'Save & Add New' button to the form toolbar with the button's text set to 'Save & Add New'. Clicking this button will submit the form and redirect to a new form. Package/Library: JToolbarHelper save2new is a part of the Joomla CMS library and is located in `/libraries/cms/html/toolbar.php`