How to duplicate a validation rule ?

jfquestiaux

Well-Known Member
I would like to duplicate the "not empty" validation rule, so I can attach another CSS class to it.
Do I just click on "Copy" in the "validation rules" section or is there more to do ?
 
Not sure what you mean by "attach another CSS class to it"?

The 'not empy' validation is an internally defined one, not sure if it can be copied.

-- hugh
 
What I mean is have another "Validation class" attached to it, so I can style it differently (other color for instance) than the standard .notempty class.

I thought that it was internally defined. So maybe if I create a new validation rule, with the same rule as not empty, I should work, but... what it he rule (or where can I find it ?)
 
I don't think that's possible in 1.0. It's easy in 2.0 though ... not much consolation, I know!

Try bumping this thread in the new year, I'll take another look. I'm just tidying up a few loose ends before going on vacation.

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

Thank you.

Members online

Back
Top