Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 1.94 KB

README.md

File metadata and controls

69 lines (49 loc) · 1.94 KB

= Radiant Forms Extension

This extension allows a developer to create forms which can take on multiple tasks

The idea was taken from the mailer extension, everything mail specific was ripped out and put in http://github.com/squaretalent/radiant-forms_mail-extension

Using forms 'DRY's up the process of creating and reusing forms across a site (well I think so at least).

== Installation

git clone git://github.com/squaretalent/radiant-forms-extension vendor/extensions/forms rake radiant:extensions:forms:migrate rake radiant:extensions:forms:update

== Usage

A new tab will be present under design, a form has the following properties

title = reference for when you call the form tag (no spaces)
  action = a specification action to submit the form to (posting to external sites etc)
  redirect_to = location to send the redirection to, will go to posting page otherwise
body = output which will be shown on a radiant page
content = presentation of data after form is submitted (useful when sending emails)
config = configuration for form-addons

Include the form in a page using a radius tag <r:form name="sexy_form" />

=== Body

  1. Your Name Your Email

=== Content

Contact from

You can get back to them on

Cheers,
Cool Mailer

=== Config

assuming you have forms_mail

mail: fields: from: contact[email] recipients: info@company.com

== Forms Addons

http://github.com/squaretalent/radiant-forms_mail-extension