I have a web form, which is used to add, modify and delete data from a table. I have even Search functionality provided in the same screen.
I have used required validation controls for some of the controls. To search I have a text box which accepts some search value. On clicking Search button with some value in search text box, required validation controls is validated and it is now allowing me to search. I disabled all the validation controls initially. Now the search works. When add button is clicked I am enabling those. Once it is enabled search button does not work again. Could you give me any solution for this.
Discussion on:
View:
Show:
We just found this ourselves. You can NOT
have more than one form on a page that uses
validation controls. Check out the iBuySpy
example, they pull out validation controls
when using multi forms on a page. We are
currently looking into writing a custom
validation control, but not sure this will fix
anything. Microsoft REALLY missed this one
in the rush to ship .net. It is a nice attempt,
they just need to finish it. AHHHHHH!
have more than one form on a page that uses
validation controls. Check out the iBuySpy
example, they pull out validation controls
when using multi forms on a page. We are
currently looking into writing a custom
validation control, but not sure this will fix
anything. Microsoft REALLY missed this one
in the rush to ship .net. It is a nice attempt,
they just need to finish it. AHHHHHH!
the problem is iam having tw0 buttons in my webform.when ever i press the first button it should check the validations of the textboxes and if we press the second one it should not check the validation.will it possible or not.if possible how can we do.
pls help me
pls help me
Is there equivalent functionality to ASP.NET's validation controls in ColdFusion MX?
Thanks.
Thanks.
I'm not that familiar with .NET's validation, but CF has had built-in form validation for awhile. CF will create JavaScript for you on the fly to validate your form input. You can also insert regular expressions and use that to validate the form input. On the back end, there is some basic server-side validation. However, there are a number of custom tags that can do validation / assertions. And I suspect that there will be CFC's coming out which doe all sorts of neat stuff with forms. FWIW.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































