1 Reply Latest reply on Sep 24, 2008 5:54 AM by Newsgroup_User

    Reseting data in form feilds

    ravi_bharathii
      I have 10 to 15 screens in a view stack each screen contains some form
      feilds.If the user enter some data in the form then he moves to some
      other screen and then come to the previous screen .Now the data
      entered by the user still in that screen.I don't want that data when
      he come back to the screen.

      One way is to reset all the form feilds manually by calling show event
      or hide evet of the screen.


      Is there is any other way to clear the data in the form feilds without
      manually reseting the feilds to null.


      Any idea please.
        • 1. Re: Reseting data in form feilds
          Level 7

          "ravi_bharathii" <webforumsuser@macromedia.com> wrote in message
          news:gbcqpt$nhh$1@forums.macromedia.com...
          >I have 10 to 15 screens in a view stack each screen contains some form
          > feilds.If the user enter some data in the form then he moves to some
          > other screen and then come to the previous screen .Now the data
          > entered by the user still in that screen.I don't want that data when
          > he come back to the screen.
          >
          > One way is to reset all the form feilds manually by calling show event
          > or hide evet of the screen.
          >
          >
          > Is there is any other way to clear the data in the form feilds without
          > manually reseting the feilds to null.

          If they're bound to something, you can set that to null or replace it with a
          new instance that is null.