Author Topic

meriam santos

Monday 22 February 2010 6:18:23 pm

Comment57202

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}"/>"