Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Miising function attachErrorLink

$
0
0
Re: Miising function attachErrorLink
Web Connection 5.0
Re: Miising function attachErrorLink
Nov. 12, 2012
04:28 am
3N509LGZRShow this entire thread in new window
Gratar Image based on email address
From:Tore Bleken
To:Rick Strahl
Please pardon my late reply. I may not have explained properly. The thing is that I entered wrong data on purpose to see what happened in my browser, and I saw that the å

It's part of the validation routines. It comes from BindingErrorCollection.ToHtml() and can be found in WebControl.prg.
This should only be added automatically if there is in fact an error that occurs.

+++ Rick ---



Rick,

I am watching your old WC videos, while trying out for myself. Half way into video no. 3, in EditDeveloper, your error routine for missing or wrong data, calls a javascript function called attachErrorLink, however I can't find this function in any of the files which are shipped with wc5.64. This is from the created html when I leave txtName blank:

<td><span style="font-weight:Normal">Please correct the following</span><hr><ul><li><a href="javascript:;" onclick="attachErrorLink('txtName')">Name cannot be left empty</a></li>




Viewing all articles
Browse latest Browse all 10393

Trending Articles