ve tried this a million ways, So i figured i would just break down and ask
typically, my setup is a handler with different events for edit view, and save for form submit
function edit(event, rc, prc) {
rc.query=getmodel("somemodel").getlist(rc.unique);
}
function save(event, rc, prc){
event.norender();
getPlugin("MessageBox").info("#rc.allocation# Saved");
setNextEvent(event="myhandler.edit", url="edit?unique=#rc.allocation#");
}
on the edit view, url like this myhandler/edit?unique=99 , i have a form that sets the event of save like this
<form action="#event.buildLink('myhandler.save">
which essentially creates the link to the save event
Now unless i set a hidden input in my form like this
<input id="unique" name="unique" type="hidden" value="#rc.unique#"/>
I always get an Error "Element UNIQUE is undefined in RC"
I know there has got to be a way to be able to pass a parameter on form submit without it being defined as an input, i just cannot find a single example on how todo so