Re: Javascript Confirm for Form Value

Darian Shimy
2009-11-20T19:25:25Z

Typically you would place the confirmation on the form, not an input
field.  Is there a reason the confirmation on the form would not work?

Darian Shimy
--
http://www.darianshimy.com
http://twitter.com/dshimy



On Fri, Nov 20, 2009 at 11:14 AM, Dustin
<pixellace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> How could I ask a user to confirm specific form input?
>
> EX:
>
> <%= f.submit ''Donate'', :confirm =>
''Confirm your donation amount:
> ###amount###'' %>
>
> Where the ###amount### would be replaced with the amount entered in
> the form.
>
> Thanks,
> Dustin
>
> --
>
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at