[Rails] "x" and "y" values in a form_tag

Raz raz.net at gmail.com
Mon Jan 30 18:17:39 GMT 2006


Are you using an image as a submit button? - I would guess that the x
and y are to do with your mouse position on the button when you click
'submit'...

On 30/01/06, Paul Wright <paul.wright at ocado.com> wrote:
> Hi,
>
> I have some strange output in my log file, where I am sending information
> via a form to the database, eg:
>
> <-- snip -->
> Processing StoreController#add_var_product (for 127.0.0.1 at 2006-01-30
> 12:30:19) [POST]
> Parameters: {"size"=>{"id"=>""}, "x"=>"44", "y"=>"11",
> "action"=>"add_var_product", "controller"=>"store"}
> <-- snip-->
>
> Although I can get things working no problem, these strange values seem to
> have appended themselves to the data I am POST'ing ?
>
> The basic look of the page is several different forms for different
> products, is it possible these "x" and "y" values are marking a position on
> page ? Tis pretty clever if so.....
>
> Any ideas ?
>
> Kind Regards,
> Paul
>
>
> This message has been checked for all known viruses by the MessageLabs Virus Control Centre.
>
>
> *********************************************************************
>
> Notice:  This email is confidential and may contain copyright material of Ocado Limited (the "Company"). Opinions and views expressed in this message may not necessarily reflect the opinions and views of the Company.
> If you are not the intended recipient, please notify us immediately and delete all copies of this message. Please note that it is your responsibility to scan this message for viruses.
>
> Company reg. no. 3875000.
> Ocado Limited
> Titan Court
> 3 Bishops Square
> Hatfield Business Park
> Hatfield
> Herts
> AL10 9NE
>
>
> *********************************************************************
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


More information about the Rails mailing list