Well, Jorn... I finally figured out the problem...

I hadn't assigned an id's to my form fields (Principal, Interest, Years),
so I couldn't see the conflict.

However, it looks like id's were automatically being assigned to my
form fields when published... they were renamed using the form id
and then the field name attached, as in
"#Mortgage_Calculation_FormPrincipal"
and I guess this id was confusing the validation plug-in (although I'm not
quite sure why because even though the automatically generated id name
included the form id name, it was not the same name exactly.

However, the lesson learned:  Always assign id's (unique ones) to every
element.

So I've got the plug-in working.

Now I've got two more questions:

1)  How do I format the validation message?  In the plug-in settings?  Can I
put
CSS formatting in there?

2) How can I get the messages to display above the form fields? Can the
label tag
take CSS formatting in-line?

Thanks for all your help with this...

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: Tuesday, March 06, 2007 1:48 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Need some guidance...

Rick Faircloth schrieb:
> Hmmm… can’t get any reaction from the validation code.
>
> Here’s my script and html… what’s wrong with it?
> (I’ve included my show/hide script and my CalculateMortgage
> script in case there’s a conflict)
>
> The Mortgage Calculation still runs fine, but when I submit the
> form without an entry I get a CF error stating that the expression
> that calculates the payment can’t be evaluated.
>
> Isn’t the validation code supposed to prevent submission when
> a form field is blank?  And in this case, with debug on, it should
> stop all submissions?
>
> But, it's pretty much like the validation code is not even active.
> I don't get any kind of response from it.
>   
I can't find any hint of an issue in your code, so I suspect the problem 
lies in my plugin.

I hope you can be patient enough to wait for beta 1. I've implemented 
all features, and just need to do a little bit more testing.

-- 
Jörn Zaefferer

http://bassistance.de




_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to