I am looking for possible filters' list when adding parameters' field for a module settings.
I know that filter="raw" and filter="integer" exists from examples at Text form field type.
But what are other possible filters for these fields?
I am not totally sure if this is it, but may want to see this list directly from the code, with the method clean()
.
So the list would be:
Let me know if this helps.
Posting as a guest so I couldn't comment ;) You might also find the list of available field types useful for capturing data like URLs and emails. You can find the full list here. Also available in the folder structure at libraries/cms/form/field
and libraries/joomla/form/fields
. There are URL and email fields which, I believe, include the relevant filtering. Usage would be as follows in the .xml:
<field name="myAwesomeURL" type="url" class="awesome"></field>
This renders as a text input box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With