Another form-tag question

This is a discussion on "Another form-tag question" within the Web Page Design section. This forum, and the thread "Another form-tag question are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 22nd, 2006, 03:09
Junior Member
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Question Another form-tag question

Dreamweaver allways generates [enctype="multipart/form-data"] at the end of a form-tag clause if no action is given, as follows:
[<form name="DummyName" method="post" action="" enctype="multipart/form-data">].

However, someone that's done an ASP script for me (this is carrying on from my previous post) has left this out as follows:
[<form name="DummyName" method="post" action="DummyForm.asp">]

Again, the script works, so I'm assuming here that [enctype="multipart/form-data"]
was left out because a form action is specified.

So, does it matter which is used?


-

Last edited by a.jenery; Mar 22nd, 2006 at 03:12.
Reply With Quote

  #2 (permalink)  
Old Mar 22nd, 2006, 10:24
craig's Avatar
Reputable Member
Join Date: Sep 2005
Location: Preston, UK
Age: 21
Posts: 381
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to craig
Re: Another form-tag question

The action is telling it to do something, in the second case, it's running it through an ASP script, which would check the form, and lay it out how you would like to receive it.
In the first one, the enctype, is so you see the data exactly how it has been type by the user, however it does not modify or check it, it simply sends it in a simple format.
Best to use the ASP script if it has been done!
Craig
Reply With Quote
  #3 (permalink)  
Old Mar 22nd, 2006, 11:47
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Another form-tag question

the enctype specifies if images/files are being sent in the form.

If not they you dont need it.
Reply With Quote
  #4 (permalink)  
Old Mar 23rd, 2006, 10:10
Junior Member
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another form-tag question

Many thanks.

Well, for some reason, the person who did the script left out enctype, although the script works fine and there is a form field in the form (the main point of having the form at all).
What ever, I'll just be thankful that the ASP script works, with or without enctype
Reply With Quote
Reply

Tags
formtag, question

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
First Hello - and a simple FORM question webhead Introduce Yourself 4 Apr 7th, 2008 18:02
Quick form question Accurax Web Page Design 7 Jun 2nd, 2007 09:57
Contact form question SolitarySoul PHP Forum 7 Mar 14th, 2007 17:02
basic form question antonyx Classic ASP 1 Aug 30th, 2006 14:18
Update form question David Blake Databases 0 Nov 26th, 2005 15:59


All times are GMT. The time now is 03:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43