Hello,
I noticed something strange: the form does not keep custom_css when there is an error validating an item.
I copied the boostrap_tab template and rename it bootstrap_tab_acte_ds. In this new template i changed the custom_css.php file by adding some css styles specificaly for this form.
The problem is when a user submit form and there is a validation error, the custom_css.php is changed to the "default" template, bootstrap_tabs instead of keeping the values from bootstrap_tabs_acte_ds:
Example:
before submitting the form:
<link href="http://mywebsite.com/components/com_fabrik/views/form/tmpl/bootstrap_tabs_acte_ds/custom_css.php?c=166&rowid=&view=form&rowid=" rel="stylesheet" />
after submitting the form but there is a validation error:
<link href="http://mywebsite.com/components/com_fabrik/views/form/tmpl/bootstrap_tabs/custom_css.php?c=166&rowid=&view=form&rowid=" rel="stylesheet" />
Joomla 3.9.1, Fabrik 3.9
Thank you
I noticed something strange: the form does not keep custom_css when there is an error validating an item.
I copied the boostrap_tab template and rename it bootstrap_tab_acte_ds. In this new template i changed the custom_css.php file by adding some css styles specificaly for this form.
The problem is when a user submit form and there is a validation error, the custom_css.php is changed to the "default" template, bootstrap_tabs instead of keeping the values from bootstrap_tabs_acte_ds:
Example:
before submitting the form:
<link href="http://mywebsite.com/components/com_fabrik/views/form/tmpl/bootstrap_tabs_acte_ds/custom_css.php?c=166&rowid=&view=form&rowid=" rel="stylesheet" />
after submitting the form but there is a validation error:
<link href="http://mywebsite.com/components/com_fabrik/views/form/tmpl/bootstrap_tabs/custom_css.php?c=166&rowid=&view=form&rowid=" rel="stylesheet" />
Joomla 3.9.1, Fabrik 3.9
Thank you