|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Posts: 7
|
Saving User Data on back
Hi,
I am wondering if anyone knows how I could set the values of text fields when the user presses the back button.. something like this: code: I am saving value entererd in the above text box into $CCIP. when the user presses the back button the text fields (here text_ccip gets cleared. I want the user entered data to remain in the text box on pressing the back button. how could I use either the above or NSD_getstate? Any suggestions? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Oct 2003
Posts: 178
|
this is taken from the Memory section of the nsDialogs section of the manual and modified with your vars (I think)
anyways it compiles fine and does save the text in the text box when they click back code: |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2008
Posts: 7
|
Hi, thx for your reply..
I tried the above code but it did not work.. Have attached the script i wrote... it's a messy script so i apologize for the aesthetics/logic. Suggestions are welcome. Thanks |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jun 2008
Posts: 7
|
Solved
Solved:
I was calling nsdialogs:: onback unecessarily in the script. @ZmAn3: your code works. Thanks. Faheem |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|