NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on July 01, 2009, 03:24:15 AM

Title: Memory form fields does noy keep its value
Post by: Alberto on July 01, 2009, 03:24:15 AM
Hi,
I´ve modified the web33 example to show the problem (attached) priming the drop field value to 9 (charles)
Compile it, Run it, Go to the drop filter proc, you will see the drop value (charles) and the browse filtered showing charles records.
Change the drop to Bruce, the browse shows bruce records, press change or add a new record, then save or cancel and the drop value returns to charles.
It is confusing for the user (and me).
This does not happened in 4.34

Tanks
Alberto

ps: meantime, any way to download 4.34??

[attachment deleted by admin]
Title: Re: Memory form fields does noy keep its value
Post by: Alberto on July 04, 2009, 06:56:14 AM
Hi,
Bruce please, can you reproduce this problem?
Any workarround?

Thanks
Alberto
Title: Re: Memory form fields does noy keep its value
Post by: Bruce on July 05, 2009, 10:11:25 PM
Hi Alberto,

haven't got to this one yet - I'll keep you posted.

Cheers
Bruce
Title: Re: Memory form fields does noy keep its value
Post by: Alberto on July 06, 2009, 04:01:25 AM
Omiting the template code and replacing

  If p_web.IfExistsValue('Goc:Actives')

by

  If p_web.GetSessionValue('Goc:Actives')<>''

It works ok.

Hope this helps,
Alberto

Title: Re: Memory form fields does noy keep its value
Post by: Bruce on July 07, 2009, 02:08:38 AM
Given that the Example 33 I ship doesn't display the effect, but your altered 33 does, what exactly was the alteration you made?
Title: Re: Memory form fields does noy keep its value
Post by: Alberto on July 07, 2009, 02:50:11 AM
To prime the drop field value to 9 (charles)
Title: Re: Memory form fields does noy keep its value
Post by: Bruce on July 07, 2009, 05:35:51 AM
Well you should tick on "only if field is not already set" - but assuming you've got that on then I've fixed it for 4.36.

Cheers
Bruce
Title: Re: Memory form fields does noy keep its value
Post by: Alberto on July 08, 2009, 03:03:22 AM
Yes Bruce,
"only if field is not already set" is cheked and that is why the template adds the
If p_web.IfExistsValue('Goc:Actives')
which is not working, if I replace that code by
If p_web.GetSessionValue('Goc:Actives')<>''
it works ok

Thanks
Alberto