/
Frontend Validation

Frontend Validation

Frontend validation happens on the rendered landing pages. The things it should achieve:

  • display i18n error messages based on which validation fails (based on the page language)

  • only force validation of required fields

  • required in the editor has multiple meanings:

    • most fields: this field should have a value set that is different from an empty string

    • number fields: not null value

    • checkbox: not false value

Current implementation

Currently validation is achieved by generating as many error components after each field as necessary to handle each validator. If a validator fails the relevant error div is added to the document. If the fields is also required a has-error class is appended to the parent. Errors are only displayed when this class set. In this scheme the

Related content

EDITION 2.0 - SPECIFICATION 2024
EDITION 2.0 - SPECIFICATION 2024
More like this
Landing Page Editor - Documentation
Landing Page Editor - Documentation
More like this
LPC 2ND EDITION UX FEATURES
LPC 2ND EDITION UX FEATURES
More like this
HTML levél szerkesztésének legfontosabb lépései
HTML levél szerkesztésének legfontosabb lépései
More like this
Layout Interactions Testing Template
Layout Interactions Testing Template
More like this
Mi az a kontaktesemény és hogyan hozok létre egyet?
Mi az a kontaktesemény és hogyan hozok létre egyet?
More like this