# Simple\_captcha issue

**URL:** <https://www.ruby-forum.com/t/simple-captcha-issue/194780>\
**Category:** Rails\
**Created:** [September 10, 2010, 12:44pm UTC](https://www.ruby-forum.com/t/simple-captcha-issue/194780 "2010-09-10T12:44:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@sam](https://www.ruby-forum.com/u/sam)\
**Post date:** [September 10, 2010, 12:44pm UTC](https://www.ruby-forum.com/t/simple-captcha-issue/194780/1 "2010-09-10T12:44:48Z")

</div>

I have a weird issue .I am using simple captcha in forms in my rails  
applications. If I am using one captcha in a web page I don’t have any  
problem. But I have a scenario of using three(3) forms in one page in  
which all the three forms will have the captcha . So that when I  
refresh the page the captcha data of the three forms are equal.

```
                     When we come to database , once the page get

```

loaded the captcha value for one particular id will be created,  
Without using the captcha if we refresh the page the record is getting  
updated instead of creating another record, And more over if I open  
the web page in two tabs and if I submit the form in the first page.  
It throws an exception which says “ Invalid Captcha”

```
             Can anyone please let me know how to handle multiple

```

captcha in single page.

```
    Thanks in-advance
```

---

<div class="post-metadata">

**Author:** ![sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@sam](https://www.ruby-forum.com/u/sam)\
**Post date:** [September 10, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/simple-captcha-issue/194780/2 "2010-09-10T14:03:50Z")

</div>

\*recaptcha

---

<div class="post-metadata">

**Author:** ![sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@sam](https://www.ruby-forum.com/u/sam)\
**Post date:** [September 10, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/simple-captcha-issue/194780/3 "2010-09-10T14:03:50Z")

</div>

are you using racaptcha?
