NetTalk Central

Author Topic: CW9 NT 7.37 Validate in NetWebForm  (Read 2990 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
CW9 NT 7.37 Validate in NetWebForm
« on: April 01, 2014, 11:39:37 AM »
Hi,

I have a form as described above. It is not a memory form.
It seems that the code in the ValidateAll rourine is not run at all.
As a check I put p_web._trace('something') at the very first code line. But nothing happens.
Is this normal behaviour?

Where should i put my code then?

Kind regards,
Rene
Rene Simons
NT14.14

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: CW9 NT 7.37 Validate in NetWebForm
« Reply #1 on: April 01, 2014, 01:16:36 PM »
Hi Rene,

Are you able to take a screenshot of the source (your code plus the template code around it)? That might help understand a bit better.

The ValidateAll routine code should definitely run.

Putting my Bruce hat on .. QUESTION: What are you wanting to do with this code? (what is the purpose)
Cheers,

Stu Andrews

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: CW9 NT 7.37 Validate in NetWebForm
« Reply #2 on: April 02, 2014, 04:30:43 AM »
Hi Bruce eh  Stu ;),

Thanks for your reaction.
In the validateALL, I want to check some things and if the check are okay, I want to "prepare" things before going any further in the update process.
I suppose that's wrong but as I recall, it was workable this way.

Cheers,
Rene
Rene Simons
NT14.14

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: CW9 NT 7.37 Validate in NetWebForm
« Reply #3 on: April 03, 2014, 01:22:32 AM »
Hi,

In the meantime I found out that loc:act is zero in my procedure.
The updateform is not very complecated so I wil delete is and generate it again and see from there,


Thanks.
Rene
Rene Simons
NT14.14