Re: Is this correct:

Belorion
Tue, 15 Feb 2005 17:37:35 -0000

On Tue, 15 Feb 2005 18:28:34 +0100, Cutting Peter
<Peter.Cutting-CwpgxV1jTAxWk0Htik3J/w@public.gmane.org>
wrote:
>
>
>
> Hi
>
> While adding functionality to my noddy program I found I had to stick the
> user.id on the end of the form action URL to keep things working. I want to
> have the user.id on the end of the URL but I suspect that I am hacking it
> and that there is a better way.
>


Maybe try:

<input type=hidden name=id value=<%= @user.id %> >

But I don''t see anything wrong with the way you are doing it.

And as for the autofocus, you can do that with javascript (you''ll need
to add the name= attribute to your form):