NetTalk Central

Author Topic: Terms and Conditions Accepted  (Read 1507 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 315
    • View Profile
    • Email
Terms and Conditions Accepted
« on: March 30, 2015, 03:48:02 AM »
Hi Guys,

I have a check box for Terms and Conditions to be accepted by the user.
This page is still running on NT6.

I validate the value of the check box (LOC:TCYN) and if not "Y", then I would set
LOC:Invalid = 'LOC:TCYN'
LOC:TCYN:IsInvalid = True
LOC:Alert = 'Please accept the general terms and conditions for the booking'

It used to work, but lately it is getting stuck with the Alert message,
even if you accept the T&C, the message keeps popping up, until the page is refreshed.

Any help will be appreciated!

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11192
    • View Profile
Re: Terms and Conditions Accepted
« Reply #1 on: March 30, 2015, 05:34:12 AM »
>> This page is still running on NT6.

that's a bit sad :(

>> It used to work, but lately it is getting stuck with the Alert message, even if you accept the T&C, the message keeps popping up, until the page is refreshed.
>> Any help will be appreciated!

Obviously I don't really remember many of the details of NT6, so it's hard to give you specific advice.  Generally speaking though I guess you want to add some debugging to your code so you can see what the value in the Variable, SessionValue and Value is at the point where you are doing the test. That's how I'd recommend getting more information.

cheers
Bruce