What user workflow are you trying to achieve? Is it possible to simply not 
present the form unless the user is logged in (i.e., require login to get 
to the page with the form)? Otherwise, I suppose you could handle it via 
Javascript and Ajax -- when submit is clicked, check for login, and if not 
logged in, login via Ajax with a modal dialog.

Anthony

On Wednesday, May 16, 2012 11:55:23 AM UTC-4, Marco Prosperi wrote:
>
> hi all, 
> what could be a clean way to require login (if not already logged in) when 
> a user clicks on the submit button of a form?
>
> thanks in advance for advice
>
> Marco
>

Reply via email to