![]() |
Creating dynamic hyperlink from form input
Hey guys,
This is my first question on this forum, so I hope you'll be able to help. I want to place a form on a Sharepoint site. I want to be able to enter a number into that form and have it take me to the following hyperlink: ttp://server/page/Main.htm?ServerFilter="PRNumber=VARIABLE" ie: ttp://server/page/Main.htm?ServerFilter="PRNumber=8786" or ttp://server/page/Main.htm?ServerFilter="PRNumber=8121" Hopefully pretty simple. |
Re: Creating dynamic hyperlink from form input
all those links should say http but the form moderator wouldn't let me submit with too many live links.
|
Re: Creating dynamic hyperlink from form input
Hi danielson,
Welcome to the forum :) I think this is what you required : HTML Code:
<head> |
Re: Creating dynamic hyperlink from form input
Hey, tried it out with my code, good one..... :)
|
Re: Creating dynamic hyperlink from form input
Quote:
|
Re: Creating dynamic hyperlink from form input
Welcome :) How to insert this smilyes ?
|
Re: Creating dynamic hyperlink from form input
When you are posting replies, click "Go Advanced". You will see a lot of smileys :)
|
Re: Creating dynamic hyperlink from form input
:crazy:
Cool, nice one, again, Thanks for this :pleased: |
Re: Creating dynamic hyperlink from form input
Cool, but there is one problem. It only works sometimes. For instance, I placed the HTML code on my desktop and saved the text as .htm-
Open the file in IE and click to accept blocked content. Then I entered a number. Sometimes it works and goes to the document.location url.. but sometimes it just goes to: ile:///C:/Documents%20and%20Settings/bomgardd/Desktop/pr.htm?number=32155 working: ttp://server/page/Main.htm?ServerFilter="PRNumber=98656" |
Re: Creating dynamic hyperlink from form input
Well, I disabled the mcafee scriptproxy addon in IE. This script then worked like a charm.
I will try to provide some input on the final fix if I decide to mess with this proxy. |
| All times are GMT +5.5. The time now is 03:38. |