Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
Some-times when going to a form, the Contour fills out the form with the last entered data.
How can I turn-off this feature?
Hi Christian,
Currently it isn't a feature you can simply turn off. But you should be able to do so with some custom code, when a form is partially submitted a cookie will be stored and if you remove that cookie ...
I use this on the workflow "When the form has been submitted"
public override WorkflowExecutionStatus Execute(Record record, RecordEventArgs e){ Form form = e.Form; RecordService.ClearCookies(form);}
But it do not work
On every Page_Load I try to clear the cookies but it still not works
protected void Page_Load(object sender, EventArgs e){ string contourFormGuid = Upac.Core.UpacContext.Current.Node.GetPropertyValue("contourForm"); FormStorage formStorage = new FormStorage(); Form form = formStorage.GetForm(new Guid(contourFormGuid)); RecordService.ClearCookies(form);}
I could clear the cookie before the page with the form is shown.
1. Show a normal page (clear the cookie on every request)2. Show a page with a form (now the fields are cleared)
It's a workaround but it works.
For a future release it would be nice for possibilities to turn the feature off via config.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How to turn off - resume form feature
Hi
Some-times when going to a form, the Contour fills out the form with the last entered data.
How can I turn-off this feature?
Hi Christian,
Currently it isn't a feature you can simply turn off. But you should be able to do so with some custom code, when a form is partially submitted a cookie will be stored and if you remove that cookie ...
I use this on the workflow "When the form has been submitted"
But it do not work
On every Page_Load I try to clear the cookies but it still not works
I could clear the cookie before the page with the form is shown.
1. Show a normal page (clear the cookie on every request)
2. Show a page with a form (now the fields are cleared)
It's a workaround but it works.
For a future release it would be nice for possibilities to turn the feature off via config.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.