Reuse form componenets
How can you reuse a section of components in several resources without having to paste the same code in all the resources?
Solution:Jump to solution
You can create separate class with static method that define form fields and then call that method in multiple resources, like this:
```php
class MyFormFields
{...
1 Reply
Solution
You can create separate class with static method that define form fields and then call that method in multiple resources, like this:
And then in your resource class: