<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><BASE
href="file://C:\Program Files\Common Files\Microsoft Shared\Stationery\"><!-- saved from url=(0022)http://internet.e-mail -->
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><FONT face=Arial size=2>Hello list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a problem accessing an HTML hidden variable
in my wigdet. Please can anyone tell me what I am missing here?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I include the custom Hidden variable as follows
(this all works fine):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=1></FONT> </DIV>
<DIV><FONT face=Arial size=2> function
GetHTMLHiddenVariables()<BR>
{<BR> //
parent::GetHTMLHiddenVariables();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
$szVariable = "CUR_PPC";<BR> $szValue
= " <INPUT TYPE=HIDDEN NAME=$szVariable
VALUE=\"\">";<BR>
$aReturn[$szVariable] = $szValue;<BR>
return $aReturn;<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>*****</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>a javascript function on my template fills the
hidden var with a value (this all works fine):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>******</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> /**<BR> * get the
javascript functions for this widget<BR>
*/<BR> function GetJavascriptFunctions()<BR>
{<BR> </FONT><FONT face=Arial
size=2>$aReturn = array();<BR>
$szJsFunctionName = "zoom24ppc";<BR>
$szFunction = <<<EOT<BR>/**<BR> * {$szJsFunctionName}<BR> *
called when the ppc value is set.<BR> */<BR>function
{$szJsFunctionName}(obj)<BR>{<BR>
<BR> {$this->mszHTMLForm}.CUR_PPC.value =
obj; <BR> //alert({$this->mszHTMLForm}.CUR_PPC.value);<BR>
{$this->mszHTMLForm}.submit();<BR>
<BR>
return;<BR>}<BR>EOT;<BR>
$aReturn[$szJsFunctionName] = $szFunction;</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial size=2> return
$aReturn;<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>******</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But when I try to access the variable in ParseUrl
function, it fails to read out the value:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>******</FONT></DIV>
<DIV><FONT face=Arial size=2> function ParseURL()<BR>
{</FONT></DIV>
<DIV><FONT face=Arial size=2> // Check if HIDDEN input is
set </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> $szVariable =
"CUR_PPC";<BR> if
($this->isVarSet($szVariable))<BR>
{<BR> $CURPPC
= $this->getVar( "CUR_PPC" );</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>etc, etc.. What am I forgetting
here? Any help would be highly appreciated</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>regards, </FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>Jan</FONT></DIV></FONT></BODY></HTML>