So here is a short form of the solution for all the others :o)

You have to define a form the normal way, as a SQLForm or a normal
FORM...

If you want the form to be submitted via an ajax request you just use
the ajax function...

For validation the form in the function the ajax is calling you have
to redefine(normal way, take a look at the ebook...)

But that's the trick, if you used a customizied FORM and not a SQLFORM
you have to set the formname empty in the accepts part!!!
(formname=NONE or don't define it...)

Tht's the way it is working and will be validated, but you have to
display errors by your own, or you use the response.flash function.
Another way I used is, tho validate if the validation fails, the form
is submitted without ajax, so the base function displaying the errors
next to the field as normal.
I wrote an ajax_true_false_funcall
(Addres,SucessFunction,ErrorFunction) and one of those both function
is executed, if ajax return =1(Successfunction) or the errorfunction
if return =0...

If any needs this ajax_true_false_funcall, just send a mail...

By the way, integrating the jquery UI pack is also no problem,
including internationalization of the datepicker... :o)
Help or questions --> just write :o)

Greeting,
matthew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to