html type="file" do not want auto submit
All I really need is an input type that allows selection of a filepath without doing an upload which is what type="file" is for, BUT I don't think what I need exists???
Alternatively I need my form to NOT be automatically submitted when the user has not selected a filepath. Any way of doing this?
Thanks in advance.
I do not have a link as I am developing locally.
Thanks Big O I will double check my code and post back.
Here is the code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<form name = "entry" action = "insert.php" method = "post">
<input type="file" name="image_filename" id="file"/>
<input id="uploaded_image" type="image" src=""
<button type="submit" id="save_your_item"
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)