<% Response.Redirect("contact.php") Response.End ' We no longer use this page so redirect to php page errMsg = "" MsgSent = false Name = Request("Name"): Address1 = Request("Address1"): Phone = Request("Phone"): Fax = Request("Fax"): Email = Request("Email") Comments = Request("Comments"): 'contact form not filled in or phone/email not provided show error msg if Request("Submit") = "Send" then if Name = "" and Address1 = "" _ and Phone = "" _ and Email = "" and Comments = "" then errMsg = "Form was not filled in before clicking Send" elseif Phone = "" and Email = "" then errMsg = "Please supply a phone number or email " & _ "address where we can contact you." 'if all OK send msg else Set objCDONTS = Server.CreateObject("CDONTS.NewMail") objCDONTS.From = "Four Courts Hostel " objCDONTS.To = "Four Courts " objCDONTS.Subject = "Enquiry from Four Courts Hostel Website" objCDONTS.Body = "A visitor from Four Courts website has submitted this information:-" & _ vbcrlf & vbcrlf & _ "Name: " & Name & vbcrlf & _ "Address: " & vbcrlf & vbcrlf & Address1 & vbcrlf & _ "Phone: " & Phone & vbcrlf & _ "Email: " & Email & vbcrlf & _ "Comments: " & Comments & vbcrlf objCDONTS.Send Set objCDONTS = Nothing MsgSent = true end if end if %> Four Courts Backpackers Hostel Dublin Ireland: Dublin Hostel, Hostel in Dublin, Dublin Hostel Accommodation, Hostel Dublin
temple bar hostel

CONTACT FOUR COURTS HOSTEL

To contact us, please complete the form below. When you press "Send" the form will be e-mailed to us.

Please note that you can make your room reservation online. Use the form below if you have any queries or would like to give us some feedback about our services.


To receive information or to give us feedback on Four Courts Hostel website, please fill in the form to the right and click on the 'Send' button.

 

<% if errMsg > "" then %>

Error in contact form

<%=errMsg%> Please click 'OK' to continue
<% elseif MsgSent = true then %>

Thank you

Your message has now been sent to us. We will respond as soon as possible.

Click here to continue.

<% else %>
 
Name:
Address:
Telephone No:
E-mail:
Comments/
Enquiries:
 
<% end if %>

Four Courts Hostel

15-17 Merchants Quay
Dublin 8
Ireland

T: 353 1 672 5839
F: 353 1 672 5862
E: info@fourcourtshostel.com