Jump to content

BackSpace and Readonly fields


Harry Rogers

Recommended Posts

Hi All

You may know that the backspace key acts as a browser back button when no field has focus.

The result of user trying to backspace over a readonly field is to end up on the previous page from the browser history.

Obviously this is bad news in an app!

Had a bit of a hunt around Google and there are a number of discussions on the subject.

I tried this script

(http://mspeight.blogspot.com/2007/05/how-to-disable-backspace-in-ie-and.html)

in the Script property of a UniForm but get an Ajax error ( 'unexpected identifier / unexpected token ' - depending on how it is laid out in the Tstrings editor) when the form loads.

Anyone any ideas or other solutions.

 

Many Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...