Validation Summary Control
-
Hi, I am trying to summarise all the errors from all fields. For example, I have one
Required Field Validator Control
and oneValidation Summary Control
. TheError Message
property for theRequired Field Validator
is "Invalid Date Format". When an invalid Date is entered, BOTH theRequired Field Validator Control
AND theValidation Summary Control
show the error. I want THAT error message to show on theValidation Summary Control
and NOT on theRequired Field Validator Control
. Any ideas? Thank you. -
Hi, I am trying to summarise all the errors from all fields. For example, I have one
Required Field Validator Control
and oneValidation Summary Control
. TheError Message
property for theRequired Field Validator
is "Invalid Date Format". When an invalid Date is entered, BOTH theRequired Field Validator Control
AND theValidation Summary Control
show the error. I want THAT error message to show on theValidation Summary Control
and NOT on theRequired Field Validator Control
. Any ideas? Thank you. -
I set Enabled to False and that disabled the validation completely lol. I discovered that all I had to do was add :
Text=""
and it worked! Thank you for your reply :-D There is another problem now :( I have 3 Date Fields. When one of them is invalid, ALL the error messages are displayed. I only want the erroneous one to display. The others are fine. Any Ideas? Thank you. EDIT: OMG! ALL three validators were validating the same textbox lol. What a noob mistake! It's sorted now. Thank you for all your replies! -- modified at 8:36 Tuesday 28th November, 2006 -
Hi, I am trying to summarise all the errors from all fields. For example, I have one
Required Field Validator Control
and oneValidation Summary Control
. TheError Message
property for theRequired Field Validator
is "Invalid Date Format". When an invalid Date is entered, BOTH theRequired Field Validator Control
AND theValidation Summary Control
show the error. I want THAT error message to show on theValidation Summary Control
and NOT on theRequired Field Validator Control
. Any ideas? Thank you. -
Hi, I am trying to summarise all the errors from all fields. For example, I have one
Required Field Validator Control
and oneValidation Summary Control
. TheError Message
property for theRequired Field Validator
is "Invalid Date Format". When an invalid Date is entered, BOTH theRequired Field Validator Control
AND theValidation Summary Control
show the error. I want THAT error message to show on theValidation Summary Control
and NOT on theRequired Field Validator Control
. Any ideas? Thank you.Erhm, strange that the required field validator shows a message although the user did enter a value in the field... I think something else is wrong, since a required field validator should only show a message when the field is left empty.
.: I love it when a plan comes together :. http://www.zonderpunt.nl
-
If I do that, then the Validation SUMMARY will not show the message. I needed the message to be on the summary, but not the validation control itself. It's OK, I solved it now.. but I have another problem. Look above. Thank you for replying.
How did you solve this, as i also need to work this way. Thanks