NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: charl99 on December 05, 2011, 01:54:05 AM
-
I cannot seem to synchronise the message from the webpage and the message that appears on top of the screen in red.
Please see attachment, these 2 fields only have 'Required' ticked on.
The same thing happens when I check in my code to make sure one of the contact no's is filled out and there is still a required field not filled in, 2 different messages. This also means I do not jump to the the right field to fix (orraait, there is always 2 possibilities).
This is a MemoryForm that writes to a file and my code is in Validate All, Start.
Thanks
Charl
C9.056, NT5.43
[attachment deleted by admin]
-
Well, it appears I am the only one to get this funny behaviour.
Can somebody please tell me what I am doing wrong?
-
Hi Charl,
I am not sure if I get your point right.
But in the ValidateValue::Foo:Datum Routine there is a line loc:alert = clip('Datum:') & ' ' & p_web.site.RequiredText
and in the Comment::Foo:Datum Routine there is a line loc:comment = p_web._jsok(p_web.site.RequiredText)
This is probably why your messages differ. Both template generated, the latter only when ‘Generate Automatic Comments” is ticked on the Validation tab of the NetWebForm settings.
Cheers,
Koen