NetTalk Central

Author Topic: Memory form fields does noy keep its value  (Read 5118 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Memory form fields does noy keep its value
« 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]
« Last Edit: July 04, 2009, 06:53:46 AM by michelis »
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Memory form fields does noy keep its value
« Reply #1 on: July 04, 2009, 06:56:14 AM »
Hi,
Bruce please, can you reproduce this problem?
Any workarround?

Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Memory form fields does noy keep its value
« Reply #2 on: July 05, 2009, 10:11:25 PM »
Hi Alberto,

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

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Memory form fields does noy keep its value
« Reply #3 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

-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Memory form fields does noy keep its value
« Reply #4 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?

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Memory form fields does noy keep its value
« Reply #5 on: July 07, 2009, 02:50:11 AM »
To prime the drop field value to 9 (charles)
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Memory form fields does noy keep its value
« Reply #6 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

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Memory form fields does noy keep its value
« Reply #7 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
-----------
Regards
Alberto