I have a form in which I want to copy a field using bind like this:

<cfinput type="text" name="fieldname"  bind="{Tubes}"/>

This works great except what I would really like to do is subtract 1 
form the  bind value.
I searched Google and found post that suggested this:

<cfinput type="text" name="fieldname"  bind="{Tubes - 1}"/>

But that doesn't seem to work.
I tried various other scenarios without any success.
I suspect it may take some javascript magic which I'm not very good at.

Anyone have a suggestion?

Regards,
Jaime




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354589
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to