$WBVC

Availability
$WBVC  is available for use with all WBSP commands:

Syntax
$WBVC{varname|render}
$WBVC[varname|render]

Parameters
varname - the name of requested variable sent by client as a part of request using either POST or GET method. It can be either WhizBase variable or any other variable sent by client
render - optional boolean parameter (T/F) that defines whether the value will be processed by WhizBase or returned as plain text

Returns
The url-encoded value of the variable varname

Example

<!--
[FormFields]
wb_command=r
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>WBVC example</title>
</head>
<body>
$wbif["$WBV[thx]"<>""
|
$WBVC[thx|t]
|
<form action="$wbe[script_name]" method="post">
<input type="hidden" name="thx" value="Thank you for submitting the form, $WBV{name}!">
Please enter your name:<br><input type="text" name="name" size="20">
<input type="submit" name="Sbutt" value="submit">
</form>
]
</body>
</html>

After running this example, the resulting page in browser, may look like this:

Please enter your name:

After submitting the form the resulting page will change to something like this:

Thank%20you%20for%20submitting%20the%20form%2C%20Faik%20Djikic%21