$WBV - request variable

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

Syntax
$WBV{varname|render}
$WBV[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 value of the variable varname

Example

<!--
[FormFields]
wb_command=r
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>WBV example</title>
</head>
<body>
$wbif["$wbv[thx]"<>""
|
$wbv[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 you for submitting the form, Faik Djikic !