Hidden field wich unique ID. If the ID is submitted twice, omit the new
entry

Am 18.11.2010 09:56 schrieb "Srikanth Jeeva" <[email protected]>:
> Hi,
>
> I have a form, When i click submit button twice,
> My form gets submitted twice, and 2 entries are saved.
>
> But I need only 1 entry to be saved.
> Any idea on how to do it?
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
[email protected]<rubyonrails-talk%[email protected]>
.
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to