From: joey Date: Sat, 7 Apr 2007 01:34:14 +0000 (+0000) Subject: web commit by JoshTriplett: Use inline code blocks for formbuilder_setup, to avoid... X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/commitdiff_plain/fd8463c878d1fb9920ef6f10944f8522e7a48f69 web commit by JoshTriplett: Use inline code blocks for formbuilder_setup, to avoid using _ as italics. --- diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 71239ac82..5bc3ad7ce 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -218,8 +218,8 @@ CGI::FormBuilder]] to generate web forms. These hooks are passed named parameters: `cgi`, `session`, and `form`. These are, respectively, the `CGI` object, the user's `CGI::Session`, and a `CGI::FormBuilder`. -Each time a form is set up, the formbuilder_setup hook is called. -Typically the formbuilder_setup hook will check the form's title, and if +Each time a form is set up, the `formbuilder_setup` hook is called. +Typically the `formbuilder_setup` hook will check the form's title, and if it's a form that it needs to modify, will call various methods to add/remove/change fields, tweak the validation code for the fields, etc. It will not validate or display the form.