xowiki::formfield::FormField proc fc_encode (public)

 xowiki::formfield::FormField[i] fc_encode string

Defined in /var/www/openacs/packages/xowiki/tcl/form-field-procs.tcl

Replace commas with the form-constraint placeholder.

Parameters:
string (required)
Value to encode.
Returns:
The encoded value.

Testcases:
dict_to_xx
Source code:
return [string map [list , __COMMA__] $string]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: