Welcome Guest, Not a member yet? Register   Sign In
Using "unnecessary" enctype multipart/form-data
#1

[eluser]mvdg27[/eluser]
Hi guys,

Just a quick question .. is there anything against adding enctype="multipart/form-data" to a form by default, even if it's not being used for uploading files at all?

Why you might ask? Simple laziness .. Wink As then I don't have to write a routine that checks if there is actually a file input field in the form, in my form generation library.

If there are issues with adding it to every form, then off course I'll do it the proper way. Any thoughts?

Thanks. Michiel




Theme © iAndrew 2016 - Forum software by © MyBB