NetTalk Central

Author Topic: Basic Login Form  (Read 5686 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Basic Login Form
« on: December 13, 2017, 09:09:42 AM »
Hi All,
Have NT 10.12 application which was moved up from NT8.  Everything OK but LOGIN Form giving me heartaches.  I have added several other fields to login screen. Ran perfectly in NT8 but now in NT10, it DOES NOT run the code in the VALIDATE UPDATE  Routine.  It is a Memory Form using local variables.
Interestingly, I copied a plain vanilla Login Form from Example 3 and it does work ( Demo, Demo) = however, as soon as I change the Login fields, it stops running the VALDATE UPDATE Code - seems to just ignore it. 
Anyone with any Insight as to how/why it is happening and how to fix it?
TIA,
Ron Jolda

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Basic Login Form
« Reply #1 on: December 14, 2017, 02:11:20 AM »
sounds like you have both "delete session on logout" set on,
and in the form embed code to do a logout...

that's the most common reason for this sort of issue.

cheers
Bruce

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Basic Login Form
« Reply #2 on: December 14, 2017, 07:02:28 AM »
Same with my app. Suddenly code no fire up ....
I just put some ordinary clarion message in login form, but message did not popup....
« Last Edit: December 14, 2017, 07:10:37 AM by oggy »

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Basic Login Form
« Reply #3 on: December 14, 2017, 07:55:03 AM »
Got this error while attempt to log...

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Basic Login Form
« Reply #4 on: December 15, 2017, 06:41:21 AM »
That error is normal, and can be ignored I think.
Try example "Basic with Login (3)" and see if you get the same effect there.

cheers
Bruce

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Basic Login Form
« Reply #5 on: December 15, 2017, 08:03:56 AM »
Sorry Bruce, hard month, week, day...
I finally got it work. Of course, it is my fault, or lets say ghost from past. One old script prevent it from working after I ported application from NT7. That script prevent user to use application in IE 6, and after I commented that script, all works well.
Sorry for be annoying, but, I am one old guy trying to learn some new stuff...
 :)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Basic Login Form
« Reply #6 on: December 19, 2017, 05:18:46 AM »
 :)