The options form for argument handlers is pretty big, and if validators provide their own options it gets even larger. It would be nice if any options provided by a validator plugin were automatically placed in their own area, maybe a fieldset, to distinguish them from other options.

This might be a separate feature request, but it would also be nice to be able to provide some kind of description of a particular validator. Maybe there could be a space in this area for validator plugin options for a description of the validator so a user would have a better idea of whether or not this validator is what they want to use.

Comments

aclight’s picture

Status: Active » Needs review
StatusFileSize
new1.91 KB

Here's a patch that does something like what I was thinking of. I'm not sure if there's a better way to use FAPI to do this because the way I do it in the patch feels a bit hackish, but I believe Earl mentioned that having these all be one level down in the FAPI hierarchy would be problematic.

aclight’s picture

StatusFileSize
new73.03 KB

Also, here's a screenshot of this in action. Someone with some style taste can probably make it look prettier than I can. :)

merlinofchaos’s picture

Status: Needs review » Fixed

Committed, with some modifications (also expanded to work on the arguments too).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.