same code as a cfform
function _CF_checkCFForm_1(_CF_this)
{
if (!_CF_hasValue(_CF_this.DDM_Zip, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.DDM_Zip,
_CF_this.DDM_Zip.value, "You must enter a valid zip code to proceed."))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.Location, "SELECT" ))
{
if (!_CF_onError(_CF_this, _CF_this.Location,
_CF_this.Location.value, "Error in Location text."))
{
return false;
}
}
return true;
}
----- Original Message -----
From: "Adkins, Randy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 3:13 PM
Subject: RE: Select
On the form submit button,
do: OnClick="ValidateForm()"
and write your cutom javascript to test
for the value of the Select.
This is basically the same function
of a CFFORM and CFSELECT
-----Original Message-----
From: Rich Tretola [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 3:03 PM
To: CF-Talk
Subject: Select
Does anyone have a way to require a selection of a regular select tag? I
know that cfselect will do this but I can't use cfselect.
Thanks,
Rich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists