HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Guest form that posts a link
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
flipwilson



Joined: 17 Mar 2008
Posts: 1

PostPosted: Mon Mar 17, 2008 5:41 pm     Guest form that posts a link Reply with quote

Here’s my problem:

I need a simple html form that post the information
to other pages like guset.htm I got it up and running
very well but when it post to the other page
guest.htm all the information post fine but the last
filed, its a url link that should post to the other
page guest.htm as a link not just text. I would like
it to post as a link so that others can click onto it and what ever the link goes to that person will then
see it in a new window.

This is what I have so far and works well but post no
url link.

<form action="--WEBBOT-SELF--" method="POST" onSubmit="">
<!--webbot bot="SaveResults" startspan U-File="state/fe/texas.htm"
S-Format="HTML/BR" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Builtin-Fields --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan -->
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="369">
<tr>
<td width="78" valign="middle" align="right">
<p align="left"><font size="2" face="Verdana">Username:</font>
<td valign="top" align="center" width="219">
<p align="left"><input type="text" size="28" name="Username">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78">
<p align="left">
<td valign="top" align="center" width="219">
<p align="left">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78"><font size="2" face="Verdana">Country:</font>
<td valign="top" align="left" width="219"><input type="text" size="28" maxlength="256" name="Country">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78">
<td valign="top" align="left" width="219">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78"><font size="2" face="Verdana">State:</font>
<td valign="top" align="left" width="219"><input type="text" size="28" name="State">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78">
<td valign="top" align="left" width="219">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78"><font size="2" face="Verdana">City:</font>
<td valign="top" align="left" width="219"><input type="text" size="28" name="City">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78">
<td valign="top" align="left" width="219">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78">Age:
<td valign="top" align="left" width="219"><input type="text" size="28" name="Age">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78">
<td valign="top" align="left" width="219">
<td valign="top" align="center" width="77">
</tr>
<tr>
<td width="78"><font size="2" face="Verdana">Profile link:</font>
<td valign="top" align="left" width="219"><input type="text" size="28" maxlength="256" name="Profilelink">
<td valign="top" align="center" width="77">
</tr>
</table>
</div>
<p><input type="submit" value="add"> <input type="reset" value="Clear"></p>
</form>


Any help would be great, thanks
Flip
ogsolution



Joined: 26 Dec 2007
Posts: 144

PostPosted: Tue Mar 18, 2008 11:19 pm     Reply with quote

You just have to make it a link in the guest.htm page.

You see, the input tag that you posted is a text box and that's why it's passed to the processing page as text.

Code:
<input type="text" size="28" maxlength="256" name="Profilelink">


So in your guest.htm, you need to get this url value and make it a link. You can do this by wrapping it around a <a></a> tag.

Hope this helps.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Webmaster Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial