Forums / Developer / Passing a variable to an edit template
Sören Dero
Wednesday 26 November 2008 6:37:30 am
So what I want to do is as the title says, passing a variable to an edit template.
My first idea was to just pass it with post, like this:
<form method="post" action={"/content/action"|ezurl}> <input type="hidden" name="NodeID" value="580" /> <input type="hidden" name="ClassIdentifier" value="ii" /> <input type="hidden" name="type" value="{$my_type}" /> <input type="submit" class="button" name="NewButton" value="Create a new general description" /> </form>
And then on my edit template read it wit ezhttp('type', 'post'), what has worked on other templates.
But here it doesn't work.Why doesn't it work and how could I pass my variable?
thanks in advance.
Wednesday 03 December 2008 5:26:30 am
Nobody who has an idea?
Forex System Profi
Wednesday 03 December 2008 6:35:42 am
Hm, I am interested in finding the answer. Don't know how simply to pass variable:-(
Metatrader Expert ( http://iticsoftware.com ), Scalping Forex ( http://iticsoftware.com/scalping-forex.php ), Forex Trading Systems ( http://shop.profxtools.com )