Dexagogo Really Easy Field Validation

10 views
Skip to first unread message

David Chua

unread,
Sep 23, 2009, 9:20:33 AM9/23/09
to Prototype & script.aculo.us
Hi all,

I'm trying to use Dexagogo's Really Easy Field validation for my
project http://tetlaw.id.au/view/javascript/really-easy-field-validation
and I'm having trouble getting it to work on two seperate forms.

I have two forms in my application with the id, 'new_event' and
'new_claim'.

in my application.js (which is included), I have the following code:

document.observe("dom:loaded", function(){

var valid1 = new Validation('new_event', {immediate : true});
var valid2 = new Validation('new_claim', {immediate: true});
});


My text fields that require validation all has the class="required" on
both forms.

Problem now, is that only the new_event form, works as it should be,
upon leaving the text_field, it gets validated immediately via ajax.

new_claim on the other hand doesn't work.

I'm pretty new to prototype and javascript so please bear with my
ignorance if I've missed out something really basic.

Thanks again.

Warmest regards,
David Chua

T.J. Crowder

unread,
Sep 23, 2009, 10:59:00 AM9/23/09
to Prototype & script.aculo.us
Hi,

Dexagogo has a support group[1], I suspect you'd be better off asking
this question there.

[1] http://groups.google.com/group/dexagogo/

HTH,
--
T.J. Crowder
tj / crowder software / com
www.crowdersoftware.com

On Sep 23, 2:20 pm, David Chua <zhc...@gmail.com> wrote:
> Hi all,
>
> I'm trying to use Dexagogo's Really Easy Field validation for my
> projecthttp://tetlaw.id.au/view/javascript/really-easy-field-validation

David Chua

unread,
Sep 23, 2009, 7:20:44 PM9/23/09
to prototype-s...@googlegroups.com
I've tried to apply for membership into their list 2 days ago :(

Honestly, I'm not sure if this is a real bug (shouldn't be!) or I'm just doing this wrongly. I'm not that strong with Javascript unfortunately :(

Warmest regards,
David
Reply all
Reply to author
Forward
0 new messages