Hey gang, Got a bit of a stumper here. Nothing I've tried has quite done the trick.
For a particular form, I've got your stereotypical "email address" field (named - here it comes - "email"). I'm using qForms, making sure that this field is required and running the validateEmail() function on it, to ensure there's content in the field and that it's structured correctly. What I've also done is, using CFAjax, rolled my own email validator code, that gets triggered by an onBlur tag on the email <input> field. Whenever someone clicks off that email field, it checks to see if the value is the same as it was (stored in a JS value) and if it's different since the last check, runs it through some validation and throws up an alert if there's a problem, all prior to any form submittals. The issue I'm running across is the combination of the two. I want to work it so that if the form is submitted, the JS/Ajax function does NOT get tripped, just the qForms function - OR - if I can rig the JS/Ajax to work both ways - to do its stuff via onBlur, AND to do its stuff when the form is submitted and to interrupt the submission if there's an issue, and ditch the use of qForms in this case - that would work as well. My main issue is crafting the JS/Ajax code to work different based on whether the form is submitted or not. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262911 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

