$WBFC - show URL-encoded field value

Availability
$WBFC  is available for use with following recordset related WBSP commands:
UPDATE
MULTI UPDATE
DELETE
QUERY
Send Personal Mail (if recordset is used)
Send Bulk Mail.

Syntax
$WBFC[fieldname]

Parameters
fieldname - exactly the same field name as defined in recordset.

Returns

  1. The url-encoded value stored in recordset field fieldname for current record.
  2. Nothing (empty string) if recordset does not exist or there is no current record, or if field value is NULL.

Example

<!--
[FormFields]
WB_basename=test.mdb
wb_rcdset=demo
wb_command=Q
wb_query=ID=4
-->
<!--WB_BeginTemplate-->
<html>
<body>
<!--WB_BeginDetail-->
This is original value (using WBF): $wbf[demotext]<br>
This is a converted value (using WBFC): $WBFC[demotext]!
<!--WB_EndDetail-->
</body>
</html>

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

This is original value (using WBF):
This is some text that includes a lot of special characters like {} braces, [] brackets, ? question mark and this nice string !"#$%&/()=*
This is a converted value (using WBFC):
This%20is%20some%20text%20that%20includes%20a%20lot%20of%20special%20characters%20like%20%7B%7D%20braces%2C%20%5B%5D%20brackets%2C%20%3F%20question%20mark%20and%20this%20nice%20string%20%21%22%23%24%25%26%2F%28%29%3D*