NetTalk Central

Author Topic: Refresh not triggered 7.35/7.37  (Read 3222 times)

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Refresh not triggered 7.35/7.37
« on: March 10, 2014, 03:51:56 AM »
On a netwebform I have a checkbox that must be checked before a browse is being displayed. That has worked for years but not anymore. Pressing F5 after checking the checkbox refreshes and displays the browse procedure.

Can I fix that myself somewhere?

Peter

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Refresh not triggered 7.35/7.37
« Reply #1 on: March 10, 2014, 05:22:01 AM »
use fireBug to inspect what is coming back to the browser when the checkbox is ticked. I'm suspecting you've got an XML error there, and Firebug will give us the necessary clues to know what it is.

cheers
Bruce

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Refresh not triggered 7.35/7.37
« Reply #2 on: March 10, 2014, 11:58:52 PM »
Hi Bruce,

I don't see anything of interest in Firebug (or maybe i don't know what to look for), so I've created a small app that demonstrates the problem (attached). 100% wizard with one netwebform added, C9.0.10376 - everything CS is the latest.

Peter

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Refresh not triggered 7.35/7.37
« Reply #3 on: March 12, 2014, 02:03:57 AM »
you are using the "Include" condition, on the loc:conditionalstring field.
that dictates if the field is on the form or not.

what you want to use is the Hide Condition, which means the field is there, but can change from visible to invisible and so on.

cheers
Bruce

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Refresh not triggered 7.35/7.37
« Reply #4 on: March 12, 2014, 02:26:56 AM »
Hi Bruce,

Yes, I realized that after posting, my fault.

However, that was a simplified example because I wanted to avoid having a dct involved in the example.

The real problem is that I've got a browse on a form, and I only want to show the browse's Insert button if the user has clicked a certain checkbox ("I accept the terms blabla"). That used to work in NT6.x but not after I moved the app to NT7/C9. Anyway, I'm now using a workaround so I hide the entire browse including buttons until the user has clicked the checkbox and that's acceptable.

Thanks
Peter