We run CF5 and never have had problems with CFform...I don't particularly like using it b/c its just as easy to write validation on your own but I've done some pretty nice things with it. CFform isn't all bad. :)
Adam H On 5/12/05, Glenn Saunders <[EMAIL PROTECTED]> wrote: > At 08:20 PM 5/11/2005, you wrote: > >Where I work we don't use cfform at all as it messes with our javascript > >validation functions. > > I've found ways around this by using onValidate instead of onSubmit. I've > even done sneaky things like have the onValidate function perform > validation beyond the scope of that one CFINPUT tag to simulate what you > might do in an onSubmit. This works best when you make a dummy CFINPUT > with the style set not to display it because onValidate outputs whatever > error message you have set in the tag. The #1 custom validation I have to > do is check for lengths on textareas because CF5 has no CFTEXTAREA or > CFINPUT type="textarea". I don't know if that was added with MX or > not. It's kinda dumb that it was left off to begin with. > > To me, the convenience of all those built-in validation functions is too > compelling for me to write my own JS validators, and I prefer to have as > much JS validation as I can rather than just relying on server-side > validation. > > Does MX still not behave well with custom onSubmit functions? I know CF5 > had a bug where it always inserts a return true after wedging in the custom > javascript call which messes things up. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2605 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54