Dunno about Fancybox, but you can use the remote method to check the username: http://docs.jquery.com/Plugins/Validation/Methods/remote
Jörn On Tue, Mar 10, 2009 at 11:53 PM, MonkeyBall2010 <hughes.timo...@gmail.com> wrote: > > You'll have to forgive me if this question sounds easy but I am fairly > new to jQuery so I'm still learning things here. > > I'm trying to do the following: > > -Display a signup form with the Fancybox plugin (working) > -Validate the form, currently using the bassistance Validation plugin > (working) > -Dynamically check a MySQL database, via AJAX, to see if the username > is already taken (????) > -Once the form checks out then I want to upload the information to > MySQL > > The problems I am having right now are as follows: > > -The validation script will function correctly on the standalone > webpage. However, when I try to open the webpage via the Fancybox > plugin the validation ceases to work. The submit button will refresh > the webpage and the validation doesn't fire. Does anyone why this > happend? > -I really haven't used AJAX before so I don't know if this whole > shabang will work or where I should start. Can these two things > (Validation, Fancybox) be combined? If so, is the way that I proposed > a valid way to combine them or can I change what I am doing to > something more efficient? > > Thanks! >