adobe dreamweaver training - adding database
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » adobe dreamweaver training - Adding a database

adobe dreamweaver training - Adding a database

resolvedResolved · Low Priority · Version Standard

replyReply Mon 22 Jan 2007, 16:16Delegate Phil said...

Phil has attended:
Dreamweaver 8 Introduction course

Adding a database

Can I create a form for my web site visitors to enter their contact details using Dreamweaver 8?

Thanks

For upcoming training course dates see: Pricing & availability

replyReply Mon 22 Jan 2007, 16:52Trainer Rich said...

Creating an HTML form

Hi Phil,

This is covered in our Dreamweaver Intermediate course.

First you need to insert a form (Insert -> Form -> Form). You then need to set up the 'action' for the form, which is the web site file that will be processing the information. This needs to be a CGI type file with an extension such as .php, .asp, .cgi etc. The file needs to be written in a server side scripting language. You can learn about php at http://www.php.net

Alternatively, bravenet can sort you out with free CGI scripts, especially a contact form for your visitors. They have easy instructions included on their web site.

Once you have inserted a form onto your page, you can start inserting form elements within the form.

An easy way (apart from using the Insert -> Form menu) is to use the insert panel at the top of Dreamweaver 8. Ensure the drop-down box is set to 'Forms'. Then you can insert elements types such as hidden fields, text boxes, check boxes, radio buttons, text areas and select boxes.

Each element has at least a type (as listed above), a name and a value. You can set these by selecting a form element, then entering them on the properties panel.

You can also set the 'action' of the form to be "mailto:email" where email if your e-mail address. This will send all form name/elements to the e-mail address specified, but not securely and not well formatted. The user often receives a warning message when using this method, so it's not recommended.

I hope this answers your question.

Regards, Rich

 

Dreamweaver tip:

Paragraph formatting

in Dreamweaver if you type in text and press entre you get double line spacing.

To avoid this hold down the shift key and then press Enter for a soft break

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard