NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
INsert form does not clear the file buffer
« previous
next »
Print
Pages: [
1
]
Author
Topic: INsert form does not clear the file buffer (Read 3881 times)
Alberto
Hero Member
Posts: 1873
INsert form does not clear the file buffer
«
on:
June 14, 2017, 05:56:31 AM »
Going from my login page to the register page (both use the same file and fields)
Calling the reg page with a button in insert mode, I cant make the user and pass values to get cleared.
Ive added code everywhere in the form and nothing.
How to solve this?
Thanks
Logged
-----------
Regards
Alberto
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: INsert form does not clear the file buffer
«
Reply #1 on:
June 20, 2017, 12:00:08 AM »
You need to clear the session value of the local data fields.
Where you do it depends a lot on what your context is, but maybe try at the top of GenerateForm routine.
cheers
Bruce
Logged
Alberto
Hero Member
Posts: 1873
Re: INsert form does not clear the file buffer
«
Reply #2 on:
June 21, 2017, 06:08:12 AM »
Ive added it in many many embeds, see image, and nothing...
Ive put the code even in Value::USU:ALIAS but it results in a loop clearing it and restoring it
I dont know from where!!
Logged
-----------
Regards
Alberto
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: INsert form does not clear the file buffer
«
Reply #3 on:
June 21, 2017, 11:14:51 PM »
If you right-click on the procedure in the app tree, and then choose Source,
you can search for the variable and see where it is set, and used.
That's the best way for you to understand where to reset it.
cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
INsert form does not clear the file buffer