Skip to content

A Kirby CMS plugin for easily creating forms and saving them to a CSV file

Notifications You must be signed in to change notification settings

wietseneven/Kirby-simple-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Simple Form Plugin

A Kirby CMS plugin for easily creating forms in Kirbytext and saving them to a CSV file


Installation

Place all the files in a directory named 'simpleForm' for example and place it into /site/plugins


How to use

In your Kirby page editor use the Kirbytext tag (simpleForm)

Parameters

simpleForm: 			// Your form name, your csv file will be named like this
fields: 				// Define your fields here
	input:name,			// Creates an input with the name 'name'
	email:emailaddress,	// Creates an input with type email and name 'emailaddress'
	textarea:message	// Creates an textarea with the name 'message'
confirmation: 			// Confirmation message that shows up when the form is submitted succesfully

The final version of the 'Kirbytag' will look like this (for this example form):

(simpleForm: myFormName fields: input:name,email:emailaddress:required,textarea:message confirmation: Succesvol opgeslagen)

CSV Database

All the form inputs will be saved to a CSV file saved in the the page directory

About

A Kirby CMS plugin for easily creating forms and saving them to a CSV file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages