Why does regex validator add red star to form

I've noticed that the regex validator add a red star next to my form field (to many that would imply the field is mandaory - which in this case it isn't). The REGEX validattion is the only rule I have added to the form field. I expect the "isnotempty" validator to add the star but why does the "REGEX" validator do this? I also note that the tip box also contains an equally unhelpful "REGEX validation" on mouseover of the red star.

Is there a way to make the red star not show for REGEX?

Regards, Mark.
 
This is definitely an area we need to improve. I agree that in many cases, the default tooltip popup for validation plugins is not very helpful, especially in customizable ones that have no fixed definition. And that the current logic for which validation icon we show doesn't work for some plugins.

Really, we need to provide settings to:

a) Override the default plugin tooltip text.

b) Override the default logic for when to show a validation icon.

I'll take a look at the code, see if this is something I think we can add quickly, without any risk of introducing problems with existing sites.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top