Pressing ESC to return to an xhtml form that has inputs with preset values will display the form with blank values instead of the preset values. This occurs even if the form being returned to was cached or not cached.
In fact, if you edit the source form to add a new input field with value="xyz" (after going to another page) the xyz will not display when escape is used to return to the new form.
In effect, pressing escape clears all value settings on a form.
To reproduce the problem:
- Use Internet Browser 4.0 (xhtml). OS 126.96.36.199 (platform 188.8.131.52) 6750
- Go to http://www.ucora.com/bb/formdefect.xhtml
- Note that the form's values are preset.
- Clicking on the hyperlink "Click here..." takes you to a new page.
- Press ESC from the new page returns you to the original form but the default values are no longer displayed.
- Pressing reset re-displays the form's preset values
This is a serious error in that if the user then submits the form, the submitted values are blank instead of the preset values. This is a particular problem when designing database driven xhtml applications.
I can't see any logical reason why going into a form in the forward direction displays the default values but going into the form via pressing escape clears the default values. This appears to be a browsers defect.
I've notified RIM and I am awaiting a reply. If anyone has a work around please let me know. Also, if other devices do not reproduce this problem let me know.