NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on February 06, 2012, 11:21:15 PM

Title: Problem with alert on form
Post by: Matthew on February 06, 2012, 11:21:15 PM
Hello

After installing NetTalk 6.18 the Invalid Message is not showing on top of form. I have tick on option "Show Invalid Message on top of form"

Is it a bug or something?

Regards,
Matthew
Title: Re: Problem with alert on form
Post by: Bruce on February 07, 2012, 03:55:30 AM
can you duplicate in an example?
Title: Re: Problem with alert on form
Post by: Matthew on February 08, 2012, 06:29:58 AM
Hello

I attach an example.

Regards,
Matthew

[attachment deleted by admin]
Title: Re: Problem with alert on form
Post by: Bruce on February 09, 2012, 10:12:09 PM
Thanks for the example Matthew, really saves me a lot of time here so I appreciate it.
bug is fixed in 6.19 (which should go up today.)

If you need to fix in your build there then make the following change to the .MakePage method in the NetWeb.Clw file;

    loc:SendString = clip(loc:SendString) & |
                    clip(loc:header) &|
                    clip(loc:Page)  &|
                    clip(loc:footer) &|
                    '<!-- Net:SelectField -->' &|
                    '<!-- Net:Popup -->' &|
                    '</div></body><13,10></html><13,10>'


should be

    loc:SendString = clip(loc:SendString) & |
                    clip(loc:header) &|
                    '<!-- Net:Busy -->' &|
                    '<!-- Net:Message -->' &|
                    clip(loc:Page)  &|
                    clip(loc:footer) &|
                    '<!-- Net:SelectField -->' &|
                    '<!-- Net:Popup -->' &|
                    '</div></body><13,10></html><13,10>'


Cheers
Bruce