Grouping form fields to reuse them in different forms
Is it possible to make a group a f.e. 5 form fields and save them in a "file". And reuse them in several forms?
I want to reuse for example a complete Grid with the fields inside in several forms.
Short example please, would be great.
2 Replies
you could create a static method on your model class and return a Grid containing your form components
and then just call that method from any of your form schemas
or put it in which class you want
hey thanks! π