Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using value in hidden field

Posted on 2002-07-12
4
Medium Priority
?
161 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 200 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

886 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