Ei kuvausta

AI 68f557ceed feat: initialize intranet form builder system with flat-file JSON storage, documentation, and sample data structures 2 päivää sitten
assets 68f557ceed feat: initialize intranet form builder system with flat-file JSON storage, documentation, and sample data structures 2 päivää sitten
data 68f557ceed feat: initialize intranet form builder system with flat-file JSON storage, documentation, and sample data structures 2 päivää sitten
docs 68f557ceed feat: initialize intranet form builder system with flat-file JSON storage, documentation, and sample data structures 2 päivää sitten
README.md 68f557ceed feat: initialize intranet form builder system with flat-file JSON storage, documentation, and sample data structures 2 päivää sitten
admin.php 2d1048126e feat: complete form system based on style system 2 päivää sitten
answer.php 2d1048126e feat: complete form system based on style system 2 päivää sitten
create.php 2d1048126e feat: complete form system based on style system 2 päivää sitten
index.php 68f557ceed feat: initialize intranet form builder system with flat-file JSON storage, documentation, and sample data structures 2 päivää sitten
submit.php 2d1048126e feat: complete form system based on style system 2 päivää sitten

README.md

Intranet Forms System

A simple, fast, and secure form builder and response collection system built entirely on a flat-file backend using native PHP.

Features

  • No Database Required: Stores all forms and responses securely in JSON files.
  • Drag-and-Drop Builder: Quickly assemble forms using Text inputs, Text areas, Single-Choice (radio), Multiple-Choice (checkbox), and Dropdown elements powered by Sortable.js.
  • Seamless Answering: Forms cache user credentials (Name/Email) automatically per local session, enabling rapid workflows on shared terminals or multiple submissions.
  • Admin Viewer: Share the randomly generated Admin secret link to view responses aggregated in a responsive table.
  • Email Notifications: Triggers notification emails using native mail() handlers across creations and form resolutions.
  • Intranet Style System: A strictly responsive, dark-mode styling conforming to universal intranet docs/style_system.md standards.

Installation Instructions

  1. Clone or copy the directory to your target web host. Any shared hosting serving PHP 7.4+ is supported out of the box.
  2. Ensure File Permissions: Ensure the web server application has write permissions over the data/forms/ and data/answers/ directories.
  3. Access index.php from your browser to begin creating forms.

Security Note: The data folder contains a restrictive .htaccess file. Do not remove it, as it locks direct browser access to raw JSON files storing your submission metrics.

Documentation

For AI agents and developers scaling the infrastructure, refer to the /docs folder:

  • docs/ai_spec.md: Agent-first architecture specifications.
  • docs/implementation_plan.md: The original architecture implementation plan context.
  • docs/style_system.md: Canonical branding and style rules.