Skip to content

depage-forms is PHP library for HTML form generation with focus on usability. It is part of the upcoming version of depage-cms, but it also works as a standalone library. By abstracting HTML, browser flaws (duplicate form submissions) and form validation, it provides a comfortable way to obtain reliable and validated data from users.

Notifications You must be signed in to change notification settings

onlysli/depage-forms

 
 

Repository files navigation

depage-forms / HTML5-forms in PHP with ease and comfort

depage-forms is PHP library for HTML form generation with focus on usability. It is part of the upcoming version of depage-cms, but it also works as a standalone library. By abstracting HTML, browser flaws (duplicate form submissions) and form validation, it provides a comfortable way to obtain reliable and validated data from users.

Features

  • validation
    • server side
    • client side (jQuery Tools)
    • available for standard input elements
    • customizable with regular expressions
  • HTML5 form features
    • attributes : placeholder, autofocus, textbox datalists, title, pattern
    • input elements : boolean (checkbox), email, hidden, multiple (checkbox, select list), number, password, range, search, single (radio, select list), tel, text, textarea, url
  • richtext element (wysiwyg HTML editor)
  • averts form resubmission
  • divide forms into ѕeparate parts
  • neat return values with appropriate data types
  • easy language localisation
  • session timeout
  • simple creditcard validation (by values)

Prerequisites

  • PHP 5.3
  • jQuery 1.3.2 (optional, for client side validation and richtext field)

Download

Introduction

For more information

License (dual)

About

depage-forms is PHP library for HTML form generation with focus on usability. It is part of the upcoming version of depage-cms, but it also works as a standalone library. By abstracting HTML, browser flaws (duplicate form submissions) and form validation, it provides a comfortable way to obtain reliable and validated data from users.

Resources

Stars

Watchers

Forks

Packages

No packages published