]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/write.mdwn
* Change formbuilder hook to not be responsible for displaying a form,
[ikiwiki.git] / doc / plugins / write.mdwn
index 1cb26a076045ee7b99ac45a16327f4f12143b141..b7c487ee223a3926c093ee77c49d854c35d7e2dc 100644 (file)
@@ -279,10 +279,8 @@ 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.
 
-Form validation and display can be overridden by the formbuilder hook.
-By default, ikiwiki will do a basic validation and display of the form,
-but if this hook is registered, it will stop that and let the hook take
-over.
+Just before a form is displayed to the user, the `formbuilder` hook is
+called. It can be used to validate the form, but should not display it.
 
 ### savestate