NetTalk Central

Author Topic: prompt reset problems after v7.11  (Read 2635 times)

cwtart

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • CommPay Software
    • Email
prompt reset problems after v7.11
« on: June 14, 2013, 07:29:31 AM »
C8 9661 NT v7.11

After upgrading from v7.10 to v7.11 I have this problem:

Memory form has drop list and several string entry fields. When the form initially displays all of the string entry fields and prompts are not hidden - but they are selectively hidden/not-hidden by values selected from the drop list. The problem now is when the string entry fields are hidden the prompts for those fields stay visible. The reset for the string entry fields are in the drop list client-side reset list and prompt-value-comment are all checked. The value field hides and unhides as it should but the prompts never hide when they should.

Likewise in another form, a string field is initially hidden along with the prompt and is selectively shown or hidden depending on the value of a radio button - the value field will hide and unhide as it should but the prompt never displays.

So, in summary, if a prompt is initially displayed it will not hide when it should. And when a prompt is initially hidden, it will not show when it should. The value fields hide and unhide as they are supposed to.

This problem happened after upgrading from v7.10 to v7.11

Chuck


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: prompt reset problems after v7.11
« Reply #1 on: June 14, 2013, 07:53:08 AM »
I will attempt to duplicate and get back to you.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: prompt reset problems after v7.11
« Reply #2 on: June 14, 2013, 08:42:55 AM »
the bug is a line in NetWeb.Tpw.
The fix will be in 7.13, but you can edit it yourself in 7.11 and 7.12 if you like.

search for

if p_web.IsMobile() or p_web.ajax = 0 then do Prompt::%FormId.

and replace with

if p_web.IsMobile() or p_web.ajax = 0 or true then do Prompt::%FormId.

Thanks for the report.

Cheers
Bruce

cwtart

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • CommPay Software
    • Email
Re: prompt reset problems after v7.11
« Reply #3 on: June 14, 2013, 10:01:44 AM »
Thanks Bruce - that worked.

Chuck