Submission problem

Hi Friends
somebody help me,

I have one pop-up window there one submit button if i submitting that
button twice or thrice it save the value upon your submitting button
so please give me some suggestion

how can i solve this problem

On Feb 1, 2012, at 4:52 AM, sudhir singh tomar wrote:

Hi Friends
somebody help me,

I have one pop-up window there one submit button if i submitting that
button twice or thrice it save the value upon your submitting button
so please give me some suggestion

Are you trying to stop multiple clicks on the button? Use the
:disable_with option on the submit element:

<%= f.submit :disable_with => ‘Saving…’ %>

Walter

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs