Kim,
You can also use the PASSTHROUGH attribute with the CFINPUT tag. This
will basically pass anything you put in the passthrough attribute value
as part of the input html tag this is generated.

Example:

<cfinput type="text" name="whatever" value="#Query.value#" size="15"
passthrough="onBlur=""checkData()""">

(note that the quotes need to be escaped in the passthrough value)

Matt

Kim Ahlbrandt wrote:
> 
> I have a CFFORM with two CFINPUT text boxes.  I need to take the amount they
> fill in the first, and calculate a number that will be filled in the second.
>   I want to do this onblur but onblur doesn't seem to work in a CFINPUT tag.
>   Is there a way to do this?  I have a button set up right now "Calculate
> Value" and it is a regular INPUT tag with OnClick set up and that works.
> But, that isn't what the users want.  Help!!
> 
> Also, while I'm on the subject...is there a way to freeze that second
> textbox (so they can't change it once the calculation is in there.  Again, I
> can do this with a regular INPUT tag, but not with CFINPUT.
> 
> I need to use CFINPUT as I'm filling the textboxes in with query values if
> they have already been in and saved a record.
> 
> Thanks,
> 
> Kim
> 
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to