Problem with validation
-
i am calling one confirmation message written in javascript when clicking on a button.at the same time i am using one required field validater to check whether user has entered value on one textbox.but it is not fireing the validation control.if i remove the client side script then the validation control is wroking correctly on button click .how can i solve it?......
-
i am calling one confirmation message written in javascript when clicking on a button.at the same time i am using one required field validater to check whether user has entered value on one textbox.but it is not fireing the validation control.if i remove the client side script then the validation control is wroking correctly on button click .how can i solve it?......
-
There's probably an error in your client-script script. You haven't posted your script, so I can't tell you what the problem is.
Paul Marfleet
-
i am calling one confirmation message written in javascript when clicking on a button.at the same time i am using one required field validater to check whether user has entered value on one textbox.but it is not fireing the validation control.if i remove the client side script then the validation control is wroking correctly on button click .how can i solve it?......
Hi, I assume that your javascript validation function may be return a false value or may be it makes any error which prevent the further processing.
Thomas
-
Hi, I assume that your javascript validation function may be return a false value or may be it makes any error which prevent the further processing.
Thomas
if any error with javascript function it wouldn't be worked according to the selection.it is working correctly when i click ok and cancel
-
if any error with javascript function it wouldn't be worked according to the selection.it is working correctly when i click ok and cancel
Ok can you post that javascript function?
Thomas
-
Ok can you post that javascript function?
Thomas
-
Button JavascriptFunction function SubmitForm() { var msg= confirm('Stock is going to update.Do you want to continue?'); if(msg==true) { return true; } else { return false; } } TextBox Validation Control
Ok can you comment that 'return false' statement and check your validator is working or not
Thomas
-
Ok can you comment that 'return false' statement and check your validator is working or not
Thomas
-
I think javascript function has a priority than validation controls. So if the function returns false, it will causes to stop all the other processing You have to change your logic
Thomas