beer-monkey.com
|
Posted: 01/15/2002, 8:04 AM |
|
I have set up a form that is used to email the details from a record to an email address (i.e. email a friend) What i would like to include on this form is the URL for the main record?
e.g. http://www.primetime.co.uk/jobs/VacancyView.asp?vacancy_id=3
As this would mean the recipient of the email can look click the link to go straight to the details about the specific vacancy!
Any ideas?
|
|
|
Alex Alexapolsky
|
Posted: 01/15/2002, 8:23 AM |
|
Create a menu form with URL field that will point to vacancy record page
and pass it vacancy_id
|
|
|
beer-monkey.com
|
Posted: 01/15/2002, 8:29 AM |
|
Alex,
i've got it displaying the correct vacancy details but also want to have a field that contains the current page URL.
e.g. http://www.primetime.co.uk/jobs/VacancyView.asp?vacancy_id=3
|
|
|
Nicole
|
Posted: 01/16/2002, 4:02 AM |
|
to add URL to email text use the code like:
sURL = "http://" & Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("SCRIPT_NAME") & "?" & Request.ServerVariables("QUERY_STRING")
|
|
|
beer-monkey.com
|
Posted: 01/16/2002, 6:14 AM |
|
Nicole
Where would i need to place this code and how would i implement it onto my form?
thanks for your help so far
Paul
|
|
|