Forums / Developer / Problem with input type = "file" not working / Comment57202
meriam santos
Monday 22 February 2010 6:18:23 pm
By the way the code is inside a form: the form edits the status of the record from one location to Archive. I dont know how to pass the changes to the file attribute.
"<form method="post" onsubmit="return confirmSubmit()" name='recoveryForm' action={"content/action"|ezurl}> <input type="hidden" name="EditContentObject" value="true" /> <input type="hidden" name='attr_status' value="0"/> <input name="MoveButton" type="submit" value="Archive"/><input type="hidden" name='MoveToParentNode' value="{$archive_node}"/>"