Question
How to include a field value (e.g from cnValue hereafter) in a SESSION_VARIABLE (e.g. sessionTest hereafter)?
<div class="twikiPageForm">
<form action="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/TestPage2">
<table border="1">
<input type="text" name="cnValue" size="10" value="commonName=" />
%SESSION_VARIABLE{"sessionTest" set="%????%"}%
</table>
</form>
Environment
--
JoseREMY - 04 Oct 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Use URLPARAM on the target page of form results like this:
%SESSION_VARIABLE{"sessionTest" set="%URLPARAM{"cnValue"}%"}%
You may also use an IF statement in the \"set\" value
--
JoseREMY - 29 Oct 2007