NetTalk Central

Author Topic: Validation "Alert Message" on drop field (NewWebForm)  (Read 2750 times)

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Validation "Alert Message" on drop field (NewWebForm)
« 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


Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Validation "Alert Message" on drop field (NewWebForm)
« Reply #1 on: February 12, 2010, 11:10:57 AM »
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)

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: Validation "Alert Message" on drop field (NewWebForm)
« Reply #2 on: February 12, 2010, 11:38:03 AM »
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

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Validation "Alert Message" on drop field (NewWebForm)
« Reply #3 on: February 12, 2010, 12:31:36 PM »
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)

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: Validation "Alert Message" on drop field (NewWebForm)
« Reply #4 on: February 12, 2010, 01:11:36 PM »
OK, I think that I got it now. I will give that a try.

Thanks again!

Barton

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: Validation "Alert Message" on drop field (NewWebForm)
« Reply #5 on: February 13, 2010, 01:14:18 AM »
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!