You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to have custom markup for all the field types that are included in forms.twig ?
For example: I would like to change the markup (html, class…) of _includes/forms/text.html or _includes/forms/checkbox.html.
But instead of just changing the files in the _display/templates/_includes, I would like to overwrite them in my own /craft/templates/_amforms/_includes folder.
Moving forms.twig and the _includes to this folder doesn't seem to work.
The text was updated successfully, but these errors were encountered:
I was able to overwrite the text field, having some trouble with the checkbox at the moment. Will update when I find a solution.
This is how I fixed my text field: Try to set the to the path in the settings to the directory where the twigs are. If you use the default names/copied the amforms templates, you don't have to enter the filename at the end. If you use custom names, add the custom name at the path too, without extension.
Is there a way to have custom markup for all the field types that are included in
forms.twig
?For example: I would like to change the markup (html, class…) of
_includes/forms/text.html
or_includes/forms/checkbox.html
.But instead of just changing the files in the
_display/templates/_includes
, I would like to overwrite them in my own/craft/templates/_amforms/_includes
folder.Moving forms.twig and the _includes to this folder doesn't seem to work.
The text was updated successfully, but these errors were encountered: