Should be fine to have the form in a modal window. I do it on a lot of 
websites.
The key is, you want to submit via ajax, and make sure you do a 'return 
false'. If there is an error in your javascript, you may see the post 
getting sent to the current url or the action setting of the form.

On Friday, May 17, 2013 10:38:16 AM UTC-7, Annet wrote:
>
> Hi Anthony,
>
> My mistake :-(
>
> The problem is that the form is posted to 
> http://127.0.0.1:8000/init/vcard/index/6  and not to 
> http://127.0.0.1:8000/init/vcard/mailVcard/6
> so the index function instead of the mailVcard function and therefore the 
> form isn't being validated and processed.
>
> Maybe it isn't a good idea to have a form in a modal window.
>
> Best regards,
>
> Annet
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to