NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: bwhisler on February 12, 2010, 06:03:21 AM
-
I have a "NetWebForm" on which there is a "Drop" field. In the settings for that field, on the "Validation" there is a field "Alert Message". I have my own message in that field enclosed with single quotes. Also below that I have the "Required" check box marked.
Based on what I thought I understood, if the field is missing a value then MY message would be shown but instead it is showing the standard "Must not be zero or blank" message. Is this correct behavior or what I'm I missing?
Thanks in advance.
Barton Whisler
-
I don't use dictionary validation much, as it caused me some issues,
used to be that the default was on and validate immediatly.
on the netwebform the advanced tab there are some settings
and/or the override on your drop might be causing a must be zero.. check
(From your dictionary) before your drop logic.
try setting the validate immeditaly to off
(nettallk 4)
-
Thank you for the reply but my problem is not that it is reporting a validation condition but rather the message that it is giving. To me the "Alert Message" field should be instead of a standard message but it is not. What I am trying to determine is if that assumption is incorrect.
Barton
-
I think your assumption is correct - BUT i assume the alert is not coming from where you think, its coming from the dictionary validation - NOT your forms need to be required ie: if your removed the required option from you dictionary - your alert message would appear. (there are two validations occuring - dictionary wins if you say validate immediatly)
-
OK, I think that I got it now. I will give that a try.
Thanks again!
Barton
-
Poul,
You are correct, the message was coming from the dictionary validation and not the local one. Removed the dictionary validate and all is good.
THANKS!