CVT
Sections
Forms
SPIP provides a simple and powerful process to manage forms, called CVT (Charger, Vérifier, Traiter i.e. Load, Verify, Process). It breaks down (...)
Articles
formulaire_charger
Modifies the table of values returned by the
charger
function for a CVT formOther preloading options
Various other special parameters can be sent to the form when it is loaded to modify its original behaviour:
message_ok, message_erreur
The (...)Passing arguments to the CVT functions
The charger(), verifier() and traiter() functions do not receive any parameters by default. php function formulaires_x_charger_dist()… function (...)
formulaire_verifier
Modifies the array returned by the
verifier
function for a CVT formChecking the submitted values
The verifier() function is used to analyse the values posted and return errors that may exist concerning the data entered. To do this, the (...)
Pipelines used for loading
formulaire_charger
This pipeline makes it possible to modify the table of values returned by the charger function for a form. It is more fully (...)Loading values into the forms
The charger() function makes it possible to specify which fields should be retrieved when the form is submitted, and also makes it possible to (...)
Authorise the display or hiding of a form
Forms are displayed by default, but it is possible to restrict this display depending on certain assigned authorising data.
Two possibilities (...)