CoolCMS API

Forms

Table of Contents

Namespaces

DI
Inputs
ReCaptcha

Classes

ChoiceGuard
Rejects a submitted select value that is not among the options, instead of dropping it silently.
ColumnGate
Length gate for form fields, measured by the column the field is written to.
EditorTextLength
Length of an editor value as the visitor sees it, for upper limits of rich text fields (parameter `max_length`, discussion post text).
Form
Application form: extension methods registered in {@see registerExtensionMethods()} and the reCAPTCHA one from {@see \App\Core\Forms\ReCaptcha\RuntimeReCaptchaBinding} (`Container::extensionMethod`).
FormFactory
FormSubmissionGuard
One-time submission tokens for forms that create a record ("add" forms), so a double click or two concurrent POSTs of the same form create one record, not two.
MultiplierLimits
Server-side limits on the number of rows of `Contributte\FormMultiplier\Multiplier`.
NumericRule
Business range rules for number fields typed as text (prices, rates, quantities in a multiplier row).
PickedRecordGuard
Rejects a record id picked into a hidden field (a Picker) that does not exist, instead of letting the save fail on the foreign key.
StrictDateInput
Strict parser of `<input type=datetime-local>` and `<input type=date>` values, plus a server rule that rejects an invalid value on the field before `onSuccess` (so before manager `save()`).
SubmissionOutcome
State of a one-time form submission token, see {@see FormSubmissionGuard}.
TranslationInput
Tells whether a language of a multilingual admin form was left blank (fields `<field>_<langId>`).

Enums

SubmissionClaim
Result of claiming a one-time form submission token, see {@see FormSubmissionGuard}.
On this page

Search results