- Ultimate Handyman Forum Index Other DIY Computers
- Search
-
- It is currently Sat Dec 21, 2024 3:22 pm
- All times are UTC
Feedback Form
All your computer hardware and software questions in here please.
Moderator: Moderators
- Mooncat
- Senior Member
- Posts: 11466
- Joined: Sun Dec 23, 2007 4:11 pm
- Location: Wales
- Has thanked: 81 times
- Been thanked: 72 times
Feedback Form
I want to have a feedback form, (so readers can complain) which sends an email to an account I've set up for this purpose. Page here:
http://astrocat.exactpages.com/feedbackform.html
It looks OK but it doesn't work Can anybody here see why?
http://astrocat.exactpages.com/feedbackform.html
It looks OK but it doesn't work Can anybody here see why?
I started out with nothing, I still have most of it.
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Mooncat
- village idiot
- diesel demon
- Posts: 2467
- Joined: Sat Jan 21, 2006 10:30 pm
- Location: In a world of his own
- Has thanked: 104 times
- Been thanked: 104 times
Post by village idiot »
WOT blocked it saying it had a poor reputation
i love being married
it's great to find that one special person that you want to annoy for the rest of your life
I have a soft spot for the wife, it's a peat bog just outside Ardross
Still Yes Highland
it's great to find that one special person that you want to annoy for the rest of your life
I have a soft spot for the wife, it's a peat bog just outside Ardross
Still Yes Highland
village idiot
- Mooncat
- Senior Member
- Posts: 11466
- Joined: Sun Dec 23, 2007 4:11 pm
- Location: Wales
- Has thanked: 81 times
- Been thanked: 72 times
It's just a simple page with some basic HTML and Javascript. Are ou using Internet Explorer?
I started out with nothing, I still have most of it.
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Mooncat
- dave.m
- Deceased 07-06-2012 R.I.P
- Posts: 4989
- Joined: Tue Jun 09, 2009 4:30 pm
- Location: A Yorky in Lancashire
- Has thanked: 13 times
- Been thanked: 318 times
It opens in Firefox 3.6
The Page Info shows:
Address: http://astrocat.exactpages.com/feedbackform.html
Type: text/html
Render mode: Quirks mode
Encoding: ISO-8859-1
Security states:
Not Encrypted, the site astrocat.exactpage.com does not support encryption for the page you are viewing.
Can't help you but that is what info I got. Should a report page be encrypted?
dave
The Page Info shows:
Address: http://astrocat.exactpages.com/feedbackform.html
Type: text/html
Render mode: Quirks mode
Encoding: ISO-8859-1
Security states:
Not Encrypted, the site astrocat.exactpage.com does not support encryption for the page you are viewing.
Can't help you but that is what info I got. Should a report page be encrypted?
dave
You can always tell a Yorkshireman,
But you cannot tell him much.
But you cannot tell him much.
dave.m
- dave.m
- Deceased 07-06-2012 R.I.P
- Posts: 4989
- Joined: Tue Jun 09, 2009 4:30 pm
- Location: A Yorky in Lancashire
- Has thanked: 13 times
- Been thanked: 318 times
Just tried it in IE8 (64bit) and sent a test reply.
The Status bar showed as 'Done but with errors on page' after I had sent it.
I'll try a reply using Firefox next.
dave
I have sent a reply using Firefox.
Did notice that in IE8, above the name box in the form, there was a Search box, this did not show in the Firefox version.
dave
The Status bar showed as 'Done but with errors on page' after I had sent it.
I'll try a reply using Firefox next.
dave
I have sent a reply using Firefox.
Did notice that in IE8, above the name box in the form, there was a Search box, this did not show in the Firefox version.
dave
You can always tell a Yorkshireman,
But you cannot tell him much.
But you cannot tell him much.
dave.m
- dave.m
- Deceased 07-06-2012 R.I.P
- Posts: 4989
- Joined: Tue Jun 09, 2009 4:30 pm
- Location: A Yorky in Lancashire
- Has thanked: 13 times
- Been thanked: 318 times
MC,
This is how it displayed:
Sorry about the quality but I was rushing to get my brew.
The search box is only in the IE version.
dave
This is how it displayed:
Sorry about the quality but I was rushing to get my brew.
The search box is only in the IE version.
dave
- Attachments
-
- Firefox
- Firefox (Small).jpg (12.59 KiB) Viewed 3787 times
-
- Internet Explorer
- IE. (Small).jpg (5.63 KiB) Viewed 3787 times
You can always tell a Yorkshireman,
But you cannot tell him much.
But you cannot tell him much.
dave.m
- Mooncat
- Senior Member
- Posts: 11466
- Joined: Sun Dec 23, 2007 4:11 pm
- Location: Wales
- Has thanked: 81 times
- Been thanked: 72 times
That is how it looks for me as well. I'll just see if any messages have been received.
I started out with nothing, I still have most of it.
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Mooncat
- thescruff
- Senior Member
- Posts: 49685
- Joined: Mon Mar 10, 2008 12:46 am
- Location: Bath
- Has thanked: 360 times
- Been thanked: 3735 times
thescruff
- chat_to_rich
- Senior Member
- Posts: 254
- Joined: Fri Jan 08, 2010 1:46 pm
- Location: Kent
- Has thanked: 0
- Been thanked: 45 times
Post by chat_to_rich »
I did a view source on the page and there are a few coding errors. I copied the source to my machine and changed the javascript function as below. It now pops up an email window with information from the boxes in it. I've included a bit of code form above and below the function so you can see where it fits in. Let me know if this isn't what you wanted. You'll need to reset the email address.
<html>
<head>
<title>Form</title>
<script>
function SendEmail()
{
var toaddy = 'xxmontycanal@xxoperamail.com';
var subject = 'JS Form Submission';
var mailer = 'mailto:' + toaddy + '?subject=' + subject + '&body=' +
'Name is: \n\t' + document.jsform.visitorname.value +
'\n\n' +
'%0DEmail is: \n\t' + document.jsform.email.value +
'\n\n' +
'%0DMessage: \n\n' + document.jsform.message.value +
'\n\n';
win = window.open(mailer,'emailWindow
if (win && win.open &&!win.closed) win.close();
}
</script>
<0Catch></noscript></div></xmp></style>
<html>
<head>
<title>Form</title>
<script>
function SendEmail()
{
var toaddy = 'xxmontycanal@xxoperamail.com';
var subject = 'JS Form Submission';
var mailer = 'mailto:' + toaddy + '?subject=' + subject + '&body=' +
'Name is: \n\t' + document.jsform.visitorname.value +
'\n\n' +
'%0DEmail is: \n\t' + document.jsform.email.value +
'\n\n' +
'%0DMessage: \n\n' + document.jsform.message.value +
'\n\n';
win = window.open(mailer,'emailWindow
if (win && win.open &&!win.closed) win.close();
}
</script>
<0Catch></noscript></div></xmp></style>
chat_to_rich
- chat_to_rich
- Senior Member
- Posts: 254
- Joined: Fri Jan 08, 2010 1:46 pm
- Location: Kent
- Has thanked: 0
- Been thanked: 45 times
Post by chat_to_rich »
I've just noticed some of the code is altered when I post. The bit that says script should say script type="text/javascript"
chat_to_rich
- Mooncat
- Senior Member
- Posts: 11466
- Joined: Sun Dec 23, 2007 4:11 pm
- Location: Wales
- Has thanked: 81 times
- Been thanked: 72 times
chat_to_rich wrote:I've just noticed some of the code is altered when I post. The bit that says script should say script type="text/javascript"
Thamk you. I'll edit my page, and let you know.
I started out with nothing, I still have most of it.
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Mooncat
- Mooncat
- Senior Member
- Posts: 11466
- Joined: Sun Dec 23, 2007 4:11 pm
- Location: Wales
- Has thanked: 81 times
- Been thanked: 72 times
I edited the script, and uploaded it to the host site. But it does not send an email message automatically. though the message in the window looks better than mine did. There isn't a SEND button to send it.
I would prefer that users didn't leave my site to send me feedback.
I would prefer that users didn't leave my site to send me feedback.
I started out with nothing, I still have most of it.
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Mooncat
- chat_to_rich
- Senior Member
- Posts: 254
- Joined: Fri Jan 08, 2010 1:46 pm
- Location: Kent
- Has thanked: 0
- Been thanked: 45 times
Post by chat_to_rich »
If you don't want to go down the mailto route, where the browser invokes the default mail client to send the email, (see here for details http://www.javascript-coder.com/javascr ... form.phtml) I would use a server-side script (PHP, Perl, ASP/ASP.NET) to send the email for you. I'm not a professional web developer, but if it's of any use I'm familiar with ASP and ASP.NET. You might also find this useful http://www.html-form-guide.com/email-form/
chat_to_rich
- chat_to_rich
- Senior Member
- Posts: 254
- Joined: Fri Jan 08, 2010 1:46 pm
- Location: Kent
- Has thanked: 0
- Been thanked: 45 times
Post by chat_to_rich »
You can use this site to generate email forms in ASP, Perl and PHP http://www.tele-pro.co.uk/scripts/contact_form/ If you google "email form generator" there are others.
chat_to_rich
- Mooncat
- Senior Member
- Posts: 11466
- Joined: Sun Dec 23, 2007 4:11 pm
- Location: Wales
- Has thanked: 81 times
- Been thanked: 72 times
Thank you, chat to rich. It looks as if I am up the creek with my script, so I'll be checking out the PHP route.
I started out with nothing, I still have most of it.
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Directmail scam information site: http://astrocat.proboards.com/index.cgi?
Mooncat
Jump to
- Ultimate Handyman DIY forum
- ↳ Welcome to the Ultimate Handyman DIY Forum
- WELCOME
- ↳ WELCOME
- ↳ About the forums
- UltimateHandyman Discounts
- ↳ Ultimatehandyman Discounts
- ULTIMATE HANDYMAN COMPETITIONS
- ↳ UHM Forum competitions
- SHOW CASE- A place to show us your work
- ↳ Show Case Gallery
- ↳ Rogues Gallery
- TOOL FORUM
- ↳ Power Tool Reviews
- ↳ Bosch
- ↳ budget power tools
- ↳ Dewalt
- ↳ Festool
- ↳ Hikoki/Hitachi
- ↳ Makita
- ↳ Metabo
- ↳ Milwaukee
- ↳ Ryobi
- ↳ Tool Talk
- ↳ Bargain Tools
- ↳ Hand tool reviews
- ↳ Power Tool Manuals
- ↳ Bosch
- ↳ Dolmar
- ↳ ELEKTRA BECKUM
- ↳ Hitachi
- ↳ Husqvarna
- ↳ Jonsered
- ↳ Makita
- ↳ Stihl
- Other DIY
- ↳ Computers
- ↳ communications and broadband
- ↳ Gardeners World
- ↳ Money Saving
- ↳ Vehicle maintenance & Repair
- ↳ Energy Saving
- DIY Forum/Home improvement
- ↳ General DIY forum
- ↳ Acrylic Forum
- ↳ DIY Disasters
- ↳ Stoves
- ↳ Building Forum
- ↳ Carpentry/Joinery Forum
- ↳ Kitchen Fitting
- ↳ Damp Proofing and Remedial problems
- ↳ Electric Forum UK
- ↳ Lighting
- ↳ Alarm Manuals
- ↳ Painting & Decorating Forum
- ↳ Plastering Forum
- ↳ Plumbing Forum
- ↳ Central Heating & Boilers
- ↳ Boiler Manuals
- ↳ Alpha
- ↳ Ariston
- ↳ ATAG
- ↳ Atmos
- ↳ Baxi
- ↳ Biasi
- ↳ Broag
- ↳ Chaffoteux
- ↳ Ferroli
- ↳ Glow-worm
- ↳ Halstead
- ↳ Ideal
- ↳ Intergas
- ↳ Keston
- ↳ Myson
- ↳ Potterton
- ↳ Protherm
- ↳ Ravenheat
- ↳ Saunier Duval
- ↳ Sime
- ↳ Thorn
- ↳ Vaillant
- ↳ Viessmann
- ↳ Vokera
- ↳ warmflow
- ↳ Worcester Bosch
- ↳ Shower Manuals
- ↳ Tiling Forum
- ↳ Metalworking Forum
- General
- ↳ The Lounge
- ↳ The games corner
- ↳ The Grumpy corner
- ↳ The Sport corner
- ↳ The Cookery corner
- ↳ The Music Corner
- ↳ BUY - SELL - FREE