NetTalk Central

Author Topic: Refresh fields  (Read 1858 times)

agustinh2000

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Email
Refresh fields
« on: October 18, 2013, 06:43:40 AM »
hi, how I can clear the fields of a form when I return the arrow backwards browser?, users do not need to duplicate data.
thanks

Agustín

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11155
    • View Profile
Re: Refresh fields
« Reply #1 on: October 20, 2013, 09:56:45 AM »
don't click the back-arrow button. The behavior for it is _very_ different from one browser to the next, and most often you won't get _any_ indication on the server side that it's been done. Plus your control over what happens when the back button is pressed is extremely limited.

Give users plenty of navigation options - and if they ask tell them not to press that button.

If you like start your app in an "empty" browser window which does not have those controls, or an address bar etc.

cheers
Bruce


agustinh2000

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Email
Re: Refresh fields
« Reply #2 on: October 21, 2013, 08:29:35 AM »
what I'm doing is p_web.SetSessionLoggedIn (0), then the variables are clean, but I can not do the same for fields of type text

thanks

Agustín