Does Dreamweaver add enctype="text/plain" to forms automatically?

594 Views Asked by At

I have some forms that post to a CGI script. I set them up and they work perfectly on all browsers. Then I leave them alone.

A few days later, after designers have updated the page, the forms no longer work and a mysterious

enctype="text/plain"

has been added to the form tag.

I didn't put it there, and the designers didn't put it there ( intentionally ). There is no source control, and I don't use Dreamweaver. I can't explain where it came from.

Does Dreamweaver add this attribute automatically?

2

There are 2 best solutions below

0
On BEST ANSWER

The answer to my question is "no".

It turns out that it was not Dreamweaver after all. Someone had created a template where enctype="text/plain" and was reusing it.

Dreamweaver CS3 only gives these 2 choices for enctype:

application/x-www-form-urlencoded

multipart/form-data.

Human error not software error ( this time ).

3
On

My copy of Dreamweaver CS3 doesn't, but I wouldn't be surprised if it were possible, depending on the settings. Dreamweaver has an option for setting the form's enctype attribute in design mode. Perhaps it was changed by accident?