Variable Encoded Format (VEF)DescriptionThis encoding is used in output format specification and allows field values and environmental variables, not determined until the form is submitted, to be included in a pre-formatted file or other text. In other words, the text encoded in VEF is like a template to be instantiated at run time.First values in fields are inserted, replacing $xxx with the contents of the field named xxx. (To get a literal "$", use "$$".) Then environmental variable values inserted, replacing %xxx with the value of the environmental variable named xxx. (To get a literal "%", use "%%".) ExampleIf the text to filled in is:Hello. My name is $name. You killed my $relative. Prepare to $action.and the fields $name, $relative, and $action happen to contain the values "Inigo Montoya", "father", and "die" relatively, the result might be: Hello. My name is Inigo Montoya. You killed my father. Prepare to die. (In case you missed it, the first line is a reference to The Princess Bride, which is a very funny film.) See Also |