NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on June 14, 2017, 05:56:31 AM

Title: INsert form does not clear the file buffer
Post by: Alberto 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
Title: Re: INsert form does not clear the file buffer
Post by: Bruce 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
Title: Re: INsert form does not clear the file buffer
Post by: Alberto 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!!
Title: Re: INsert form does not clear the file buffer
Post by: Bruce 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