it would be nice if there could be a callback, or a list of current validation methods for addon module config options.
say for example you want to have a field that contains a url.
whenever i need that url i need to run rtrim to remove the trailing slash, if any.
i know this isnt a problem, it just seems better to do this validation before it goes into the db.
maybe there could be either:
a. a parameter wehere you can call a validation function, which you can then run before it gets inserted into the db.
or there could be a set of buiolt in validation functions (which im sure you already have), and we could call one of them from the config array, by adding a name paramenter like:
'validate' => 'trailingslash'
or
'validate' => 'numeric'
or
'validate' => 'email'
etc
as i said this isnt a major issue, just an ehancment.
plus if it was added as a validation parameter, there is scope then to add some jquery validation before they submit the config options.
and while were on config options to save opening a new thread, it woud be nice if we could have config options that rely on specific values from other cnfig options.
ie, if you have a license field.
the rest of the options are hidden until the license filed is filled in.
or the same principle with checkboxes, ie:
enable advanced features:,
when clicked other features could shown.
