Filtering form in plugin view.php

Filtering form in plugin view.php

by Lukas Celinak -
Number of replies: 1
Picture of Plugin developers

Hi,

i had thsi kin of filters around data in ours plugin, im trying to use moodle form elements in this form, it is possible to use it in my own functions, for example i just need to use date_range element in html.


Thank you.

Attachment ownfilters.PNG
Average of ratings: -
In reply to Lukas Celinak

Re: Filtering form in plugin view.php

by Benjamin Ellis -
Picture of Particularly helpful Moodlers

Quick suggestion:  The form classes are declared in the lib/form/ so you might be able to use the relevant class