|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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" /> |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Quote:
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 |
|
#4
|
|||
|
|||
|
Quote:
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Website Address in Texfield, I Want it to be Functional (VBScript) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|