# The sum of all fears

**URL:** <https://www.ruby-forum.com/t/the-sum-of-all-fears/134429>\
**Category:** Rails\
**Created:** [April 10, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/the-sum-of-all-fears/134429 "2008-04-10T18:49:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrianod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c2a13f/32.png) [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Post date:** [April 10, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/the-sum-of-all-fears/134429/1 "2008-04-10T18:49:23Z")

</div>

Hi I have several fields and I would like to know if there is someway to  
get the values of already typed text\_fields and get it’s sum, doing an  
observer field for each text\_field is gonna be kinda complicated.  
If there is some way to use javascript for each time I type tab  
uploading the value would be also desired  
thanks  
ps: the subject is only a way to get attetion =x

---

<div class="post-metadata">

**Author:** ![adrianod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c2a13f/32.png) [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Post date:** [April 10, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/the-sum-of-all-fears/134429/2 "2008-04-10T19:01:48Z")

</div>

On 10 Apr 2008, at 17:49, Adriano L. wrote:

> Hi I have several fields and I would like to know if there is  
> someway to  
> get the values of already typed text\_fields and get it’s sum, doing an  
> observer field for each text\_field is gonna be kinda complicated.  
> If there is some way to use javascript for each time I type tab  
> uploading the value would be also desired  
> thanks  
> ps: the subject is only a way to get attetion =x

Please please don’t do this. It’s also a quick way to get people to  
ignore you.

Fred
