[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-04 Thread johnHoysa
Hmm still seem to be having some issue with it. The code is not properly posting to sessions.cfm I think. Looking at firebug every thing seems to be fine but when I then pull back in my tasks.cfm the data was never written to sessions.cfm properly. The validation is working currently.

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-04 Thread johnHoysa
Got it working with the below code! Had to move my validation to the top of the pre submit calls so it would validate first then do the rest of the ajax submit I think. Hopefully this works for me! Again Gustavo thanx for the help! John var options = { //meta:

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-04 Thread johnHoysa
Actually I jumped the gun but hopefully soon I will figure this out.

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-04 Thread Bob Schellink
Hi John, johnHoysa wrote: Actually I jumped the gun but hopefully soon I will figure this out. My understanding is that both ajaxSubmit and validate are registered on the Form submit event. So both events are fired at the same time. Thus when the form's beforeSubmit callback fires, the

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread Gustavo Salomé
I dont know if i get what you want to do but Try to add a success function to your ajaxsubmit function, lke this: jQuery(form).ajaxSubmit({ target: #newTasks, success:function(html){ $.get('tasks.cfm',{},function(data){

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread johnHoysa
Hi there, Gustavo, Thanx for the help, but it seems to not be posting anything to the file now. I will probably look more in-depth into the basics of what you recommended to see if I can figure out what I might be doing wrong. I am also trying to use the following code as well. There is a

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread Gustavo Salomé
I did mistake my past code, now it seens to do what you want to: jQuery(#myForm).validate({ meta: validate, submitHandler: function(form) { jQuery(form).ajaxSubmit({

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread johnHoysa
Can't wait to test it out tomorrow morning! You are correct with what I am trying to do, sorry I didn't explain it earlier. I really appreciate your help, have a good day/night.