Reg: Browser Back Button

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

Reg: Browser Back Button

Lingesh_Palanivelu

Hi Team,

 

I want to clear the fields of the form when browser back button is clicked. If you have two steps in the form, after going to the second step if you are clicking the browser back button the password fields of step1 should be cleared.

 

Is this functionality is available in orbeon builtin. If so how to do that.

 

And also I want the solution that works with noscript mode as well.

 

Thanks and Regards,

Lingesh P

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


--
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: Reg: Browser Back Button

Erik Bruchez
Administrator
Lingesh,

There is this property, which instead of restoring fields should
reload the page instead:

https://sites.google.com/a/orbeon.com/forms/doc/developer-guide/xforms-state-handling#TOC-Browser-navigation-back-and-forward

To be fair I don't think we have tried it in quite a while. Let us
know if it works for you though.

-Erik

On Wed, Jun 29, 2011 at 12:12 AM, Lingesh_Palanivelu
<[hidden email]> wrote:

> Hi Team,
>
>
>
> I want to clear the fields of the form when browser back button is clicked.
> If you have two steps in the form, after going to the second step if you are
> clicking the browser back button the password fields of step1 should be
> cleared.
>
>
>
> Is this functionality is available in orbeon builtin. If so how to do that.
>
>
>
> And also I want the solution that works with noscript mode as well.
>
>
>
> Thanks and Regards,
>
> Lingesh P
>
>
>
> ________________________________
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>
>
> --
> 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: Reg: Browser Back Button

Lingesh_Palanivelu

Hi Erik,

 

Its workingJ.Thanks a lot.

 

However, how to achieve the same feature for individual fields. Because this option is reloading the entire page. For example, if we have 5 controls in a form and out of which only one is a password field then how to clear only that particular password field when browser back button is clicked.

 

If we have to change the default code to match this functionality, please tell us which file to approach.

 

Regards,

Lingesh P

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: Thursday, June 30, 2011 11:40 AM
To: [hidden email]
Subject: [ops-users] Re: Reg: Browser Back Button

 

Lingesh,

 

There is this property, which instead of restoring fields should reload the page instead:

 

https://sites.google.com/a/orbeon.com/forms/doc/developer-guide/xforms-state-handling#TOC-Browser-navigation-back-and-forward

 

To be fair I don't think we have tried it in quite a while. Let us know if it works for you though.

 

-Erik

 

On Wed, Jun 29, 2011 at 12:12 AM, Lingesh_Palanivelu <[hidden email]> wrote:

> Hi Team,

> 

> 

> 

> I want to clear the fields of the form when browser back button is clicked.

> If you have two steps in the form, after going to the second step if

> you are clicking the browser back button the password fields of step1

> should be cleared.

> 

> 

> 

> Is this functionality is available in orbeon builtin. If so how to do that.

> 

> 

> 

> And also I want the solution that works with noscript mode as well.

> 

> 

> 

> Thanks and Regards,

> 

> Lingesh P

> 

> 

> 

> ________________________________

> DISCLAIMER:

> This email (including any attachments) is intended for the sole use of

> the intended recipient/s and may contain material that is CONFIDENTIAL

> AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or

> copying or distribution or forwarding of any or all of the contents in

> this message is STRICTLY PROHIBITED. If you are not the intended

> recipient, please contact the sender by email and delete all copies;

> your cooperation in this regard is appreciated.

> 

> 

> --

> 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

> 

> 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


--
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: Reg: Browser Back Button

Eusebio
In reply to this post by Erik Bruchez
Hi,

Old thread but it's related to my issue/question.

We have an issue where form submitters get to the end and rather than click
to view the PDF, they just click back and refill the form and submit,
however this just updates the DB as an edit. To force them to do a new form
I was looking at this:-

https://doc.orbeon.com/contributors/state-handling

Where do I actually put this?

<xf:model xxf:revisit-handling="reload">

I tried putting it in the xf:model area at the top of the form.

Thanks

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Reg: Browser Back Button

Alessandro  Vernet
Administrator
Hi Eusebio,

Is this for a form you're creating with Form Builder? If so, in the sidebar,
go to the Advanced tab, click on Edit Source, locate the `xf:model` towards
the top of the form, and add the attribute `xxf:revisit-handling="reload"`.
I just tried this with 2018.1, and it is working for me: if I enter some
values in the form, navigate away, hit back, the values are reset, while
they wouldn't otherwise.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Reg: Browser Back Button

Alessandro  Vernet
Administrator
Hi Eusebio, did you get a chance to try the `xxf:revisit-handling="reload"`
following the steps mentioned in my previous message? If so, you'll let me
know if it is working for you.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet