PHP Classes

File: example_form.json

Recommend this page to a friend!
  Classes of Arash Soleimani  >  PHP JSON Form Builder  >  example_form.json  >  Download  
File: example_form.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP JSON Form Builder
Generate a HTML form definition in JSON format
Author: By
Last change: Update README
Date: 2 years ago
Size: 1,259 bytes


Class file image Download
    "name": "formName",
    "title": "A registration form",
    "description": "A simple form example.",
    "method": "post",
    "enctype": "multipart/form-data",
    "action": "",
    "properties": {
      "firstName": {
        "type": "input",
        "title": "First name",
        "value": "test",
        "required": true,
      "lastName": {
        "type": "input",
        "title": "Last name",
        "disabled": true
      "age": {
        "type": "number",
        "title": "Age",
      "bio": {
        "type": "input",
        "title": "Bio",
      "password": {
        "type": "password",
        "title": "Password",
        "min": 3
      "language": {
        "type": "select",
        "title": "Language",
      "submit": {
        "type": "submit",
        "title": "Save Form",
For more information send a message to info at phpclasses dot org.