Is there a way to globally change the layout property of all inputElements of a CForm?
I know that you can extend the CForm and write a custom output but all I want is change order of the differed parts output of a inputElement.
default it is
layout = ‘{label} {input} {hint} {error}’
I’d like it to be
layout = ‘{label}{error}{input}{hint}’
currently I don’t see any other way that manually assigning this value to each inputElement in CForm definition.
Best way now would be probably using a function somewhere to assign it to all inputElements. Any better way to do this?