ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 16th, 2009, 09:45 AM
Bills118020 Bills118020 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 20 Bills118020 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 43 m 17 sec
Reputation Power: 0
Website Address in Texfield, I Want it to be Functional (VBScript)

I have a text field which has a a website address as its value(using VBScript). When I look at the text field online its not a functional URL (i.e cant click it). How do I make the website address value in the textfield clickable. Thanks

P.S

I have it in a text field because it will be emailed and the email function only captures text fields. I know that I can just have the link out in the open in a webpage, but again, its for email purposes only, and it will actually be hidden to the user.

Code:
<input type="text" name="Link" id="Link" value="http://www.website.com" />

Reply With Quote
  #2  
Old April 16th, 2009, 01:24 PM
Ronster Ronster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Charlotte
Posts: 237 Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Days 10 h 53 m 8 sec
Reputation Power: 126
Can you not populate the text field AND create a hyperlink on the page at the same time?

Then you have the text field contents for emailing purposes, as well as the hyperlink available as well.

If this won't work, you need to give a little more info... I'm having trouble understanding your requirements.

Reply With Quote
  #3  
Old April 16th, 2009, 03:14 PM
Bills118020 Bills118020 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 20 Bills118020 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 43 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by Ronster
Can you not populate the text field AND create a hyperlink on the page at the same time?

Then you have the text field contents for emailing purposes, as well as the hyperlink available as well.

If this won't work, you need to give a little more info... I'm having trouble understanding your requirements.


Sorry bud let me clear it up.

I have an order form and once it is submitted it will create an emial notificaiton for an admin and it will send each text field that is completed. I want to have a hidden text field (I know how to do that part) which contains a functional url (i.e one you can click) that will direct the user getting the email to a order aproval site. Currently when I complete the form and it is submitted, the text field in the email that contains the link just shows the adress.

Again the link needs to be in a text field since the email only captures textfields. In other words it cant be out in the open like this www.espn.com, currently it appears in the text field and email as this www.espn.com

Reply With Quote
  #4  
Old April 16th, 2009, 04:24 PM
Ronster Ronster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Charlotte
Posts: 237 Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Days 10 h 53 m 8 sec
Reputation Power: 126
Quote:
Originally Posted by Bills118020
Sorry bud let me clear it up.

Again the link needs to be in a text field since the email only captures textfields. In other words it cant be out in the open like this www.espn.com, currently it appears in the text field and email as this www.espn.com


I guess I'm getting confused, because you're saying "the field will be hidden", but you want the user to click on it to go to an order approval site. How is the person going to be able to click on it, if they can't see it? That's what hidden means, right?

Hidden fields have purpose, but I guess I still aren't grasping the concept. BUT!!! I'll say this... if that's the way it has to be done, you can tie some javascript to the text field, and look for an OnClick() event to happen or something? I'm more of a ASP.NET programmer, and could write server side code for an OnClick() event there easily, but it has to be done in JavaScript for Classic ASP and I don't know JavaScript that well.

Still... if the user must "click on this link" to go on to the next site/page, I don't understand why "being out in the open" is a problem. You have to be able to see it to know it's there to click on it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Website Address in Texfield, I Want it to be Functional (VBScript)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
Stay green...Green IT