|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi,
i have form where there is a text box and asp.net requirefieldvalidator for that and submit button. there is onclick function named "checking" to the button. when the text box is empty and button is clicked the form is not submitted in internet explorer which is correct. but in firefox the required field validtor shows error message that text box is empty but the form is submitted and "checking" function of the button is executed. |
|
#2
|
|||
|
|||
|
I was having the same problem, but this is an easy fix. in the submit function that posts-back to the codebehind wrap an "If Page.isValid then" around everything that you want to happen if everything is valid. The validators will trip on the postback in mozilla and will display after the postback if the user enters bad data.
hope this helps! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > asp.net validator |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|