• Post Reply Bookmark Topic Watch Topic
  • New Topic

Forms containing links  RSS feed

 
Tom Panahil
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to pass a bunch of parameters with a request, and currently use links, but do not like exposing all the parameters.

I want to use a form with hidden input fields, but still want to have the link, and have it look/act like a link, just have it do the form submit method only.

Any thoughts?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the HTML/Javascript forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use javascript to submit the hidden form upon clicking the link:



Be sure that the form method is POST.
[ May 31, 2006: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All of that hidden information is still game for people to see and change so do not think it is any safer.

Eric
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!