Monday 13 June 2005 10:40:16 am
Can someone explain, whay this doeasn't work
<form method="post" action={"/content/action"|ezurl} name="newPhoto">
<input type="hidden" name="NodeID" value="1180" />
<input type="hidden" name="ClassID" value="5" />
<a href="#" onclick="document.forms.newPhoto.submit()">Add Photo</a>
</form>
But if i change link with button, it works
<form method="post" action={"/content/action"|ezurl} name="newPhoto">
<input type="hidden" name="NodeID" value="1180" />
<input type="hidden" name="ClassID" value="5" />
<input type="submit" name="NewButton" value="{'Create here'|i18n('design/standard/node/view')}" />
</form>
{set-block scope=root variable=cache_ttl}0{/set-block}
|