<cfinput type="text" name="SubmitterPhone" size="15" required="yes"
message="You must include a phone number.">
When looking at the page source, buried inside a javascript routine I
find
//form element SubmitterPhone required check
if( !_CF_hasValue(_CF_this['SubmitterPhone'], "TEXT", false ) )
{
_CF_onError(_CF_this, "SubmitterPhone",
_CF_this['SubmitterPhone'].value, "You must include a phone number.");
_CF_error_exists = true;
}
(i.e., the code is being generated).
Doesn't work. Leave it blank and it doesn't blink. Latest version of
CFMX.
At http://forums.inet7.com/showthread.php?threadid=210 there is an
implication the problem is linked to not having rights to the directory
where a necessary .js file is (<script type="text/javascript"
src="/CFIDE/scripts/cfform.js"></script>) but I've tested that and I
have rights to that subdirectory.
The implication is, I think, that the code in /CFIDE/scripts/cfform.js
is not generating a False value and thereby not triggering the code
printed above.
Any ideas why? (BTW, this is not the first time I've had this problem.
CF seems inconsistent; works most of the time but now and then won't.)
Larry V. Stephens
Indiana University
Office of Risk Management
[EMAIL PROTECTED]
812-855-9758
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270206
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4