Back button to re-edit form..."Current version of data..." error?
-0001-11-30 Views:0
I've noticed a fairly common error that my users are running into. Here is the situation... A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edi
A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edit the form...saves the form and gets the following error...
"...Current version of data in database has changed since user initiated update process...."
I am currently running v2.0...but I was able to also duplicate the issue within v3 (online...Customer Tracker sample application).
Is there any way to catch the error to display a custom message?
Or maybe some settings that I am missing to guarantee that when the user clicks the back button, the page is refreshed so it doesn't show the cached version with the old data?
Or maybe there is another way to approach this?
Thanks...
Matt
This is functioning exactly as it should... Imagine what could happen if it didn't work that way! People would overwrite other's information all the time.
I think the solution you need is two fold: user training and app modifications.
I know what you're thinking, user training, hah! But it's going to help as you make more of these kinds of web apps.
As for app modifications there are two I can think of that may help.
1. I don't know how the users open the app but if they click on a link then you can have the popup window open without tool bars and such (but they still have the backspace on the keyboard).
2. Add a button on the page they are redirected to after saving the form. Make the condition of the back button "If item is not null" and put PXX_ITEM_NAME in expression 1.
Then create the item you just put in expression 1as display as text (saves state). Set the condition to never. Now go to the page with the form, and create a process that sets PXX_ITEM_NAME equal to the value of the item used as the primary key for the form. Make sure the process only fires after an update is made.
Then when the users get to the page after making a modification they will see a "back" button.
The last step is to create a branch that will take the user back to the form if they click the button and populates the form item for the primary key.
Let me know if this is making any sense or not.
Dan
Dan
Back button to re-edit form..."Current version of data..." error?
Category:DefaultRelease time:-0001-11-30Views:130
I've noticed a fairly common error that my users are running into. Here is the situation... A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edi[More]
How do i add an email button to an editable pdf
Category:DefaultRelease time:2015-10-11Views:130
how do i add an email button to an editable pdfHi Rocco290, You will need Acrobat to add an email button to that PDF. Here are instructions from the Acrobat X Help: http://help.adobe.com/en_US/acrobat/X/pro/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBD[More]
Toshiba 32W1333DN: buttons moving/deleting/edit name for channels missing
Category:DefaultRelease time:-0001-11-30Views:130
Hello, I just bought 32W1333DN in Sweden. But I cannot change the position of channels in the channel list. Both the Quick start guide that comes in the box with the TV and the online manual has images and details about how to move channels/delete ch[More]
I had a trial version, and tonight I bought it. But buttons led me to the Windows version which I accidentally bought. I have Mac. What do I do? How do I switch it over to a Mac version?
Category:DefaultRelease time:2015-10-11Views:130
I had a trial version, and tonight I bought it. But buttons led me to the Windows version which I accidentally bought. I have a Mac. What do I do? How do I switch to Mac version?Hi scarabs55, Are you working with Acrobat or Photosohp? (You mentio[More]
Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks
Category:DefaultRelease time:-0001-11-30Views:130
Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) ThanksHi Mark Was just looking for the answer to this exact question and I just found something th[More]
Where is the shopping button I had on the last version
Category:DefaultRelease time:-0001-11-30Views:130
I have just downloaded the new version....where is the shopping button I had on the previous version ? How can I go back to the previous version ??Firefox has never had a shopping button, that was likely added by an extension. As the button has gone[More]
What's the latest version of macbook or mackbook pro with mouse buttons?, what's the latest version of macbook or mackbook pro with mouse buttons?
Category:DefaultRelease time:-0001-11-30Views:130
what's the latest version of macbook or mackbook pro with mouse buttons?, what's the latest version of macbook or mackbook pro with mouse buttons?Are you talking about MacBooks and MacBook Pros with the two buttons at the bottom of the trackpad and n[More]
Is editing a previous version possible?
Category:DefaultRelease time:-0001-11-30Views:130
I have read through the Developer Reference (9.0.1) section on Versioning but I couldn't find the answer to this question. Is it possible to edit a previous version of a public object? I understand I can have the Family ID reference a previous versio[More]
HT4623 my phone main button not working after installed new version software 7.0.6
Category:DefaultRelease time:-0001-11-30Views:130
my phone main button not working after installed new version software 7.0.6Arrange some liquid like petrol spirit and w 40 two drops in to home button. 30 times press slowly slowly and then restart your apply iphone. You will get ready. I am sure. Th[More]
Why can't I edit the local version of address book
Category:DefaultRelease time:-0001-11-30Views:130
Since iCloud I can no longer edit the local version of my address book. In addition adding addresses from Mail no longer saves them to address book, it does seem to put them somewhere but I have no idea where, they don't appear to go icloud either. [More]
International Version" button in XD01 from 4.7 versions..
Category:DefaultRelease time:-0001-11-30Views:130
Hi All, We can find "International Version" button in XD01 from 4.7 versions.. But cudnt find in 4.6 Version... Plz help me..in findin out the reason. Can there's an way to hav it in even 4.6c version? Thanks All in Advance Regards, MaltiHi Rob,[More]
- 1 I bought another skype number for a family member ...
- 2 How can I see if somebody posted a comment on a photo?
- 3 Search for records by Remote Key or Remote System in Data Manager
- 4 Value field in copa
- 5 UDF read file in JAR Packet
- 6 Add Album Art - Having Problems - HELP!
- 7 Since Firefox 9, pasting content from word or open office in editors like tinymce or ckeditor loses formatting. Why? Thanks.
- 8 Why when I select a bright/rich color it wont let me and is instead a very dull version of that colo
- 9 My iTunes version 11.1.0.126 installed in my Windows 8 64 bits OS computer to enable me share files stopped working whenever I tried launching it. Why?
- 10 Maximum length of the table
- SSRS 2008 R2 report prints empty spaces for html content till end of page
- Windows 7 and HP OJ 8500 A909g
- Indesign document read with Extend Script
- Aperture 3 and Sinar STI raw files
- Pdf into html doc
- Hi I'm new to java
- Installing 8gb of ram into 2011 macbook pro 13inch now its got no power.
- Fresh install + Time Machine restore = incorrect password
- Can apps be moved on sd card in lenevo s920
- Mouse drag event