How to not send an input field in a <form>

Chillyboarder

New Member
Relating to my last question. I have an upload field where the user can choose a picture and this becomes resized (clientside via Javascript), base64 encoded (JS as well) and send via a hidden field. I do this in order to save bandwith of the user (e.g. usage with a 3g connection). But I don't know how to not send the user upload file \[code\]<input type="file" name="file" id="file" class="span4">\[/code\] within the \[code\]<form></form>\[/code\] tags. The obvious solution would be to exclude the file upload from the form but this would kill my layout. Is this possible? Thanks!
 
Back
Top