Mecha CMS

Add extra functionality to the core engine.

Form

Table of Content

HTML form’s element helper.

Feature 

  • Quick HTML form’s element creation.
  • Ability to save and restore previous submitted form data.

Example 

Create HTML <input type="text"> element:

echo Form::text();

Store previous form data on error:

if (Message::$x) {
    Session::set(Form::session, HTTP::post());
}