NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.Dismiss Notice
Introduction(top)Creates an html <button> in form view (does not display in list view).
Note that a submit button is automatically added to the form, so creating an element to do the same function is not required.
- Bootstrap class - Button class to assign.
- Bootstrap icon - E.g. 'icon-user'. Places a bootstrap icon inside the button
Bootstrap icons(top)Bootstrap reference (http://getbootstrap.com/components/) shows icons, but they are not all included in Joomla Bootstrap.
- Protostar template includes some Glyphicons
- Joomla includes Icomoon. (List at http://kyleledbetter.com/jui/icons/)
Icomoon will look better on high pixel density smartphones displays.
window.location.href = 'your.url';
Another example from Hugh(top)From this forum post. To get a URL from another element called some_element and open it in a new window.
var url = form_123.formElements.get('yourtable___some_element').getValue();
var url =Fabrik.getBlock('form_123').formElements.get('yourtable___some_element').getValue();