From 5e0e6abcb7632ee529f91fcf318e45cbbcacc187 Mon Sep 17 00:00:00 2001 From: interp Date: Sat, 9 Nov 2002 16:46:59 +0000 Subject: [PATCH] update description of INPUT-FIELD-VALUE and insert one for RAW-INPUT-FIELD-VALUE --- scheme/httpd/surflets/latex/surflet.tex | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/scheme/httpd/surflets/latex/surflet.tex b/scheme/httpd/surflets/latex/surflet.tex index 047d0d1..ac66966 100644 --- a/scheme/httpd/surflets/latex/surflet.tex +++ b/scheme/httpd/surflets/latex/surflet.tex @@ -263,12 +263,20 @@ See the examples for further informations. \end{desc} \defun{input-field-binding}{input-field bindings}{binding} -\defunx{input-field-value}{input-field bindings}{value} +\defunx{raw-input-field-value}{input-field bindings}{value} +\defunx{input-field-value}{input-field bindings \opt{default}}{value} \begin{desc} \ex{input-field-binding} returns the binding for - \semvar{input-field} out of \semvar{bindings}. - \ex{input-field-value} returns the value for the input field, using - the transformer function of the input field. + \semvar{input-field} in \semvar{bindings}. + \ex{raw-input-field-value} returns the value for + \semvar{input-field}, using the transformer function of the input + field that was specified at its creation time. It is an error, if + \semvar{input-field}'s value is not specified by the + \semvar{bindings} or the transformer function yields an error. + \semvar{input-field-value} does the same as + \semvar{raw-input-field-value}, except that it will return + \semvar{default}, that defaults to \sharpf, in case of an + error. \end{desc} \subsection{Return addresses}