Solved

Using value in hidden field

Posted on 2002-07-12
4
155 Views
Last Modified: 2010-04-09
I have one form passing a value to an other form, and I would like this value to be part of the POST in that second form.
<form action= $loginurl onsubmit...

Isn't there something like

$urlposted I can use to where $urlposted will be replaced by the posted value. I know how to do it with ASP but I think plain HTML might be enough.
0
Comment
Question by:alexandram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 12

Expert Comment

by:lexxwern
ID: 7151043
as far as my understanding goes...

$loginurl and $urlposted are plain variables, these variables can have any values, for example "heloworld" etc.

but most probably these variables wil have an url like http://www.domain.com/login.pl etc.

so if you want to d it in plain html, you will have to replace <form action="$urlposted"> by the actual value of the $urlposted variable.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 7151132
do you mean something like this?

<form action= $loginurl onsubmit.... >
  <input type=hidden name=loginurl value=$loginurl>
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7240653
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
split lexxwern and ahoffmann

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7263498
Per recommendation, force-accepted.

Netminder
CS Moderator

lexxwern: points for you at http://experts-exchange.com/Web/Web_Languages/HTML/Q_20350842.html
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question