I didn't get any responses to my post.
Probably because I wasn't clear on my email.

But for those that may have a similar problem in the future.

I solved the problem by binding to a CFC that takes the value from the 
input field and subtracting the value of 1.
It seems a bit over kill for such a simple task. However, I could figure 
out how to do in the client side.

Regards,
Jaime



On 2/19/2013 4:43 PM, Jaime Muniz wrote:
> 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:354610
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to