Forums

can i customize some validation message

alfredopacino 12 Jul, 2012
hi, this is what i use now for form validation


i wondering if can i create and customize other pop-up messages like that for some extra javascript check onsubmit that i need (im using awful alerts for that)
GreyHead 12 Jul, 2012
Hi alfredopacino,

If you add your 'extra checks' using the same library as ChronoForms (MooTools Form Check) then the error messages will match.

I except that you could code something similar if you need to use another library.

I have no idea what 'awful alerts' are.

Bob
alfredopacino 12 Jul, 2012
clearly i'm not english😀
with "awful alerts" I meant just simply the (bad-looking🙂 ) javascript alert() function

with
validate['required','%customCheck']
i have exactly what i need.

i have another little problem:
on a checkboxes group "1 required" don't work
GreyHead 12 Jul, 2012
Hi alfredopacino,

Ah - I thought that 'awful alerts' was some Joomla! extension I'd never heard of. There are usually one or two a day.

The checkbox group validation was working OK. Please post a link to the form so I can take a quick look.

Bob
This topic is locked and no more replies can be posted.