HighDots Forums  

Remove Error Message

jQuery jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.


Discuss Remove Error Message in the jQuery forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Maharaj :: WidePixels.com
 
Posts: n/a

Default Remove Error Message - 11-07-2009 , 08:09 PM






Well i finally got the remote validation working. But if there is an error
in a form then i correct it the error message still shows. How can I remove
the message once the error is fixed? I am testing a email address in a db
with 2 emails so i know if its unique or not.

rules: {

"data[Profile][email]":{required: true,email:true, remote: {url:
"/manage/profile/validate",type: "post", data: {fieldname: 'email'}}}
},
messages: {

'data[Profile][email]': {
required: '* This is from JS required',
email: '* This is from JS email',
remote: '* This is from JS remote'} }

Thanks

Dave

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.