Forums / General / POST/ACTION send variable

POST/ACTION send variable

Author Message

Jens Kultima

Thursday 08 November 2007 4:45:15 am

Hi,

I have a button, when I click on it it sends an action requst to edit the current node. That works perfect. The questions is how do I send an extra variable with the edit requst so that I can reach this variable in the edit mode?

My code look like this:

<form method="post" action={concat("content/edit/", $node.object.id)|ezurl}>
		<input class="button" type="submit" name="editButton" value="Aktivera/inaktivera projekt" />
	</form>

Thank you!