forms
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page

view a printable version of this pagePrintable version
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » Forms

Forms

The UK's most regular instructor-led training courses.
Training information: dreamweaver codes · Dreamweaver training · Adobe dreamweaver training

resolvedResolved · Low Priority · Version 9

No ranking yet
6 posts
replyReplyMon 21 Dec 2009, 14:24Delegate Matthew said...

Matthew has attended:
Dreamweaver CS3 Introduction course

Forms

Hi

The current enquiry form on our website says 'please insert valid email' when you try to submit the form. Do you know why that might be?

Thanks

Gold
272 posts
replyReplyTue 22 Dec 2009, 11:22Trainer Jacob said...

RE: Forms

Hi Matthew

just to check is this a new form you haev created and are testing or is it a fault you are trying to fix?

Also are you pasting the email addresses in or typing them, do they contain any punctuation remarks?

Regards

Jacob

No ranking yet
6 posts
replyReplyTue 22 Dec 2009, 11:26Delegate Matthew said...

RE: Forms

Hi Jacob

This is a problem I am trying to fix to an existing form and hense wondering if to start again.

It doesn't matter if the address is typed or pasted and as far as I am aware it doesn't matter which email address you use - no punctuation marks.

Regards

Matthew

No ranking yet
6 posts
replyReplyTue 22 Dec 2009, 12:14Delegate Matthew said...

RE: Forms

Hi Jacob

I have built a new form but when I receive the form after submission windows explorer is unable to open the document?

Why would this be?

Thanks

Matthew

Platinum
801 posts
replyReplyMon 4 Jan 2010, 13:16Trainer Rich said...

RE: Forms

Hi Matthew,

Thanks for your question. I hope you enjoyed the Dreamweaver training back in December.

As one of the Dreamweaver trainers, I have been assigned your question, and I hope I can help you to resolve it!

Regarding the first part of your forum post, it's hard to advise without further information. Do you know if the form fields are being validated using Javascript (ie. before the form information is being sent to the server) or on the Server side once the form is submitted?

Can you provide a URL where I can check the form online?

In regards to your more recent post (22nd Dec), you say you 'receive the form'. How are you receiving the information? Is it by e-mail or stored in a database on your web site? You say Windows Explorer is unable to open the document: what type of document is it? Did you get it attached in an e-mail? What is the extension of the file?

I need to know how your form is set up, and whether the web site is live and online. What server-side technology are you using (Linux/PHP/MySQL; or Windows IIS, .NET, ASP)

NB/ It's unlikely a form will work properly if you are just experimenting on your PC with Dreamweaver.

I look forward to assisting you when you can provide the above details - thanks! If you have any difficulty providing these answers, please get back to me and I'll explain in more detail.

Regards, Rich

No ranking yet
6 posts
replyReplyMon 4 Jan 2010, 15:26Delegate Matthew said...

RE: Forms

Hi Rich,

Thank you for your response. I will try and answer your questions as best I can although admittedly I am quite unsure of the information.

First question: 'Do you know if the form fields are being validated using Javascript' - I don't know, how can I check?

Please visit http://www.instam.org/aboutus/enquiry_new.html
This is the new form

What server-side technology are you using
- We use: Windows IIS

'receive the form' - When a response is submitted on the form we receive an email which contains a file attachment 'POSTDATA.ATT' it is only readable in notepad.

I am testing the form live and on-line.

I hope this is more helpful.

Regards,
Matthew

Platinum
801 posts
replyReplyMon 4 Jan 2010, 15:43Trainer Rich said...

RE: Forms

Thanks Matthew,

That really helps to clarify the problem! Also, being able to see the live form means I can get straight to the problem.

Your form uses a 'mailto' as the action.

When looking at the source code for the form, it starts like this:

form action="mailto:info@instam" method="post"


This is a very out-dated way to provide a contact form on a web site. For one, your visitors will be required to have an e-mail account set up on their computer (eg. in Outlook or Outlook Express, or similar e-mail client software). For example, when I clicked the 'submit' button in firefox, the form did not submit, my computer opened a new e-mail window, with the data I had typed in to the form. This is not what a visitor would expect to happen when submitting a form!

Secondly, you open yourself to Spam, as any spam-bot can look at the form, see the e-mail address supplied, and add the address to it's list of e-mail addresses to send spam to.

Your web site appears to be 'static'. That is, it doesn't use any server-side technologies. All of your pages are HTML, plain text. This is fine for information pages, but when you want your visitors to interact with the site, whether it be posting a comment, submitting a form, or booking an event, you need to start using Server-Side technology that accepts the visitors information, and does something with it.

This involves programming scripts. Either you will need to learn how to do this (there are many free tutorials online if you search), hire someone to do it for you, or download a ready-made script, copy it to your server and adjust the settings to match that of your server. Alternatively, you can use free services such as http://www.bravenet.com which will do the work for you.

Easy e-mail form set up:
http://www.bravenet.com/webtools/emailfwd/

I'd recommend you start with them or another free service.

If you prefer to write your own script (or have someone do it for you), you'll need to decide which language script to use. Because you have IIS, the most common language is ASP (Active Server Pages). Find out more at http://www.asp.net

Within the ASP file (perhaps you call it process.asp), you would take the visitors fields they have filled out, do something with them (ie. e-mail it to yourself, or store it in a database if you have one on your web site) and then redirect the visitor to a 'thank you' page. You can do all this using ASP programming language. You would then set the 'action' parameter of your form to be 'process.asp' instead of the mailto command.

The other popular language is PHP, and this is usually run on Apache or other Linux server technology (you have Windows though).

You may also want to contact your hosting provider (where the web space is) and ask if they have scripts you can download for free. They may even be able to help you configure the script.

I hope this helps. Let me know if you have further queries. Good luck.

Regards, Rich

Mon 11 Jan 2010: Automatically marked as resolved.


Related articles

· Redecorating Your Website, The Easy Way
· A Defining Moment For Dreamweaver
· Search Engine Optimisation Tips
· Keeping Ahead Of The Competition With Dreamweaver
· Advantages Of Using Dream Weaver To Design Web Pages

Please browse our web site to find out more about
dreamweaver codes and other Microsoft training courses.

Dreamweaver (adobe) tip:

Toggle panels on and off

Press the F4 key to toggle all the panels in Dreamweaver on or off. This gives you more editing and programming screen space.

View all Dreamweaver (Adobe) hints and tips


Rate this page:
2.2/5 (128 votes cast)
Institute of IT Training - Accredited Training Provider ILM
Microsoft Certified Partner
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Association of Computer Trainers verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Professional & Management

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

MS Office & IT Applications

Excel courses
Excel training
Excel Training Courses Medway
Microsoft Excel training
Microsoft Project training
Microsoft Office training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
(more...)

Crystal Reports training

DreamWeaver courses
Dreamweaver training

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Information
Training Articles
Microsoft Training Blog

Interested in Access training?
Please see the following pages:

Access courses
Access training
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london