Solved

Using value in hidden field

Posted on 2002-07-12
4
151 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now