Disable Submit Trigger on the client side

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Disable Submit Trigger on the client side

Mark.El
Hi,

I am doing a form where I want to disable the submit trigger on the client side, so they cannot submit twice if its taking a while for the server to respond. I have the trigger bound to a reference and that works however it waits until I get a response from the server, which is sending to a webservice... I have put a delay in the webservice and waits until the web service returns before the submit gets disabled... is it possible to do it client side?

Is this possible?

Regards

Mark


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Disable Submit Trigger on the client side

Erik Bruchez
Administrator
Yes, with recent builds, try out the modal trigger:

   http://www.orbeon.com/ops/doc/reference-xforms-2#modal-trigger

-Erik

On Mar 7, 2008, at 7:14 AM, Mark Ellul wrote:

> Hi,
>
> I am doing a form where I want to disable the submit trigger on the  
> client side, so they cannot submit twice if its taking a while for  
> the server to respond. I have the trigger bound to a reference and  
> that works however it waits until I get a response from the server,  
> which is sending to a webservice... I have put a delay in the  
> webservice and waits until the web service returns before the submit  
> gets disabled... is it possible to do it client side?
>
> Is this possible?
>
> Regards
>
> Mark
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Disable Submit Trigger on the client side

Mark.El
Hi Eric, are you talking about builds later than 3.6 2007.12.06 Release?

Regards

Mark

On Fri, Mar 7, 2008 at 8:03 PM, Erik Bruchez <[hidden email]> wrote:
Yes, with recent builds, try out the modal trigger:

  http://www.orbeon.com/ops/doc/reference-xforms-2#modal-trigger

-Erik

On Mar 7, 2008, at 7:14 AM, Mark Ellul wrote:

> Hi,
>
> I am doing a form where I want to disable the submit trigger on the
> client side, so they cannot submit twice if its taking a while for
> the server to respond. I have the trigger bound to a reference and
> that works however it waits until I get a response from the server,
> which is sending to a webservice... I have put a delay in the
> webservice and waits until the web service returns before the submit
> gets disabled... is it possible to do it client side?
>
> Is this possible?
>
> Regards
>
> Mark

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Disable Submit Trigger on the client side

Erik Bruchez
Administrator
Yes, this was done in February.

-Erik

On Mar 10, 2008, at 3:25 AM, Mark Ellul wrote:

> Hi Eric, are you talking about builds later than 3.6 2007.12.06  
> Release?
>
> Regards
>
> Mark
>
> On Fri, Mar 7, 2008 at 8:03 PM, Erik Bruchez <[hidden email]>  
> wrote:
> Yes, with recent builds, try out the modal trigger:
>
>   http://www.orbeon.com/ops/doc/reference-xforms-2#modal-trigger
>
> -Erik
>
> On Mar 7, 2008, at 7:14 AM, Mark Ellul wrote:
>
> > Hi,
> >
> > I am doing a form where I want to disable the submit trigger on the
> > client side, so they cannot submit twice if its taking a while for
> > the server to respond. I have the trigger bound to a reference and
> > that works however it waits until I get a response from the server,
> > which is sending to a webservice... I have put a delay in the
> > webservice and waits until the web service returns before the submit
> > gets disabled... is it possible to do it client side?
> >
> > Is this possible?
> >
> > Regards
> >
> > Mark
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Disable Submit Trigger on the client side

Mark.El
Hi Erik,

I have tried to get nightly build marked the 10th of March and I get issues...

Hopefully Alex or yourself can shed some light in potential issues I am hitting in the other thread I have started for this issue.

Regards

Mark

On Mon, Mar 10, 2008 at 7:04 PM, Erik Bruchez <[hidden email]> wrote:
Yes, this was done in February.

-Erik

On Mar 10, 2008, at 3:25 AM, Mark Ellul wrote:

> Hi Eric, are you talking about builds later than 3.6 2007.12.06
> Release?
>
> Regards
>
> Mark
>
> On Fri, Mar 7, 2008 at 8:03 PM, Erik Bruchez <[hidden email]>
> wrote:
> Yes, with recent builds, try out the modal trigger:
>
>   http://www.orbeon.com/ops/doc/reference-xforms-2#modal-trigger
>
> -Erik
>
> On Mar 7, 2008, at 7:14 AM, Mark Ellul wrote:
>
> > Hi,
> >
> > I am doing a form where I want to disable the submit trigger on the
> > client side, so they cannot submit twice if its taking a while for
> > the server to respond. I have the trigger bound to a reference and
> > that works however it waits until I get a response from the server,
> > which is sending to a webservice... I have put a delay in the
> > webservice and waits until the web service returns before the submit
> > gets disabled... is it possible to do it client side?
> >
> > Is this possible?
> >
> > Regards
> >
> > Mark
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws