NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on April 01, 2014, 11:39:37 AM

Title: CW9 NT 7.37 Validate in NetWebForm
Post by: Rene Simons 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
Title: Re: CW9 NT 7.37 Validate in NetWebForm
Post by: Stu 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)
Title: Re: CW9 NT 7.37 Validate in NetWebForm
Post by: Rene Simons 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
Title: Re: CW9 NT 7.37 Validate in NetWebForm
Post by: Rene Simons 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