PC Review


Reply
Thread Tools Rate Thread

Buid an Hiperlink with form fields?

 
 
=?Utf-8?B?SmF2aWVy?=
Guest
Posts: n/a
 
      3rd Nov 2005
Hi, I want to know if is possible to make an hiperlink with form fields,
something like:

I make a form in Frontpage with 2 fields

Username: javier
Password: xyz

Then with this 2 parameters build an access link to a FTP site like:
ftp://javier:(E-Mail Removed), and when I click Send, access this site.

I think is very simple, but I don't know how I can do it.

Best Regards,

Javier Salvatierra


 
Reply With Quote
 
 
 
 
Jon Spivey
Guest
Posts: n/a
 
      3rd Nov 2005
Hi,
Try this, not tested.
<form>
Username <input type="text" name="user">
Password <input type="text" name="pass">
<input type="submit" value="Go to FTP" onclick="location.href='ftp://' +
this.form.user.value + ':' + this.form.pass.value + '@mydomain.com';">
</form>

--
Cheers,
Jon
Microsoft MVP

"Javier" <(E-Mail Removed)> wrote in message
news:4622B6C1-DB49-4321-865E-(E-Mail Removed)...
> Hi, I want to know if is possible to make an hiperlink with form fields,
> something like:
>
> I make a form in Frontpage with 2 fields
>
> Username: javier
> Password: xyz
>
> Then with this 2 parameters build an access link to a FTP site like:
> ftp://javier:(E-Mail Removed), and when I click Send, access this site.
>
> I think is very simple, but I don't know how I can do it.
>
> Best Regards,
>
> Javier Salvatierra
>
>



 
Reply With Quote
 
=?Utf-8?B?SmF2aWVy?=
Guest
Posts: n/a
 
      3rd Nov 2005
Thanks Jon, it really works!!!

Javier Salvatierra

"Jon Spivey" wrote:

> Hi,
> Try this, not tested.
> <form>
> Username <input type="text" name="user">
> Password <input type="text" name="pass">
> <input type="submit" value="Go to FTP" onclick="location.href='ftp://' +
> this.form.user.value + ':' + this.form.pass.value + '@mydomain.com';">
> </form>
>
> --
> Cheers,
> Jon
> Microsoft MVP
>
> "Javier" <(E-Mail Removed)> wrote in message
> news:4622B6C1-DB49-4321-865E-(E-Mail Removed)...
> > Hi, I want to know if is possible to make an hiperlink with form fields,
> > something like:
> >
> > I make a form in Frontpage with 2 fields
> >
> > Username: javier
> > Password: xyz
> >
> > Then with this 2 parameters build an access link to a FTP site like:
> > ftp://javier:(E-Mail Removed), and when I click Send, access this site.
> >
> > I think is very simple, but I don't know how I can do it.
> >
> > Best Regards,
> >
> > Javier Salvatierra
> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BUID YOUR OWN PC independent site Windows XP General 1 25th Oct 2008 01:25 PM
hiperlink =?Utf-8?B?Y2hhZDEyMw==?= Microsoft Frontpage 1 9th Oct 2004 01:05 AM
hiperlink in a mxdatagrid Cristhian Massa Medina Microsoft ASP .NET 0 7th Jan 2004 06:05 PM
Lost hiperlink in web Rosario Microsoft Powerpoint 0 31st Oct 2003 03:41 PM
can we start form by clicking hiperlink ? Konrad Microsoft Excel Programming 1 27th Oct 2003 07:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 PM.