CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 17 Aug 2025 02:50:33 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100215115557
location: https://web.archive.org/web/20100215115557/https://github.com/zapnap/database_form
server-timing: captures_list;dur=0.573650, exclusion.robots;dur=0.020327, exclusion.robots.policy;dur=0.010712, esindex;dur=0.010844, cdx.remote;dur=44.692546, LoadShardBlock;dur=167.540770, PetaboxLoader3.datanode;dur=45.682438, PetaboxLoader3.resolve;dur=57.947535
x-app-server: wwwb-app203
x-ts: 302
x-tr: 250
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app203; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 17 Aug 2025 02:50:34 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Mon, 15 Feb 2010 11:55:57 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "aa50db1a4eac9d38547828461573fd45"
x-archive-orig-x-runtime: 536ms
x-archive-orig-content-length: 28910
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 15 Feb 2010 11:55:57 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 17 Apr 2008 21:29:02 GMT", ; rel="prev memento"; datetime="Sat, 08 Aug 2009 09:40:08 GMT", ; rel="memento"; datetime="Mon, 15 Feb 2010 11:55:57 GMT", ; rel="next memento"; datetime="Sun, 10 Jun 2018 23:28:15 GMT", ; rel="last memento"; datetime="Wed, 16 Sep 2020 12:44:14 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100215092835_crawl101_IndexOnly-c/51_14_20100215114650_crawl101.arc.gz
server-timing: captures_list;dur=0.465814, exclusion.robots;dur=0.017334, exclusion.robots.policy;dur=0.008561, esindex;dur=0.009604, cdx.remote;dur=10.464044, LoadShardBlock;dur=220.060982, PetaboxLoader3.datanode;dur=111.685129, PetaboxLoader3.resolve;dur=340.739315, load_resource;dur=331.787849
x-app-server: wwwb-app203
x-ts: 200
x-tr: 626
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
zapnap's database_form at master - GitHub
This service is courtesy of Pledgie.
zapnap / database_form
- Source
- Commits
- Network (7)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (1)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Database Form Page Extension for Radiant CMS — Read more
name | age | message | |
---|---|---|---|
![]() |
LICENSE | Wed Mar 05 13:56:41 -0800 2008 | added missing LICENSE (MIT FTW) [zapnap] |
![]() |
README | Tue Mar 04 10:16:20 -0800 2008 | update README [zapnap] |
![]() |
Rakefile | Tue Mar 04 07:28:46 -0800 2008 | initial commit 0.2 [zapnap] |
![]() |
app/ | Fri Jan 09 11:07:21 -0800 2009 | redirect status param required in radiant 0.6.9 [zapnap] |
![]() |
database_form_extension.rb | Fri Jan 09 11:08:28 -0800 2009 | update version and repo location [zapnap] |
![]() |
db/ | Tue Mar 04 07:28:46 -0800 2008 | initial commit 0.2 [zapnap] |
![]() |
lib/ | Tue Mar 04 07:28:46 -0800 2008 | initial commit 0.2 [zapnap] |
![]() |
public/ | Tue Mar 04 07:28:46 -0800 2008 | initial commit 0.2 [zapnap] |
![]() |
test/ | Tue Mar 04 07:28:46 -0800 2008 | initial commit 0.2 [zapnap] |
README
= Database Form Extension for Radiant The Database Form extension enables Radiant users to build form pages that will save visitor responses to a database table. Those responses can then be exported for consumption in some other application (CRM, etc). Install the extension, run the rake radiant:extensions:database_form:migrate task, and the rake radiant:extensions:database_form:update task. These tasks will add the necessary database table to your Radiant installation and copy over the JavaScript that's required for client-side validation. Once you've done this, log into the Radiant admin and set the page type of the page where you'll build the form to DatabaseFormPage. Then create your form using tags. Here's an example of usage: <r:database:form name="requestinfo" redirect_to="/contact/thank-you"> Name:<br/> <r:database:text name="name"/><br/> Email:<br/> <r:database:text name="email"/><br/> Primary Interest:<br/> <r:database:select name="primary_interest"> <r:database:option name="work"/> <r:database:option name="fun!"/> </r:database:select><br/> <r:database:submit value="Submit"/> <r:database:reset value="Reset"/> </r:database:form> As shown above, you can use the redirect_to attribute to specify where the visitor should be redirected to after submitting the form. The entire inventory of tags includes: <r:database:form name="" redirect_to="" validate="">...</r:database:form> <r:database:text name="" validate=""/> <r:database:password name="" validate=""/> <r:database:checkbox name="" validate=""/> <r:database:hidden name="" validate=""/> <r:database:textarea name="" validate=""/> <r:database:radio name="" validate=""/> <r:database:radiogroup name="" validate="">...</r:database:radiogroup> <r:database:select name="" validate="">...</r:database:select> <r:database:option name=""/> <r:database:us_states/> <r:database:ca_provinces/> <r:database:countries/> <r:database:submit/> <r:database:reset/> Note that most tags support client-side validation. Thanks to Andrew Tetlaw for his spiffy Prototype-based validation JavaScript. If you wish to include validation in your form, you must set the validate attribute in the form tag. You can then choose from a variety of validation routines for the form elements, including: required, validate-number, validate-digits, validate-alpha, validate-alphanum, validate-date, validate-email, validate-url, validate-currency-dollar, validate-selection, and validate-one-required. You'll also need to include prototype in your layout, of course (IMPORTANT; without it validation won't work). <r:database:form name="contact" validate="true"> <r:database:text name="name" validate="required"/> <r:database:text name="email" validate="required validate-email"/> </r:database:form> If you care to, you can style these validations using CSS: input.validation-failed, textarea.validation-failed { border: 1px solid #900; color: #900; } .validation-advice { margin: 5px 0; padding: 5px; background-color: #900; color: #FFF; font-weight: bold; } The Database Forms extension also adds a tab to Radiant's admin interface which can be used to export user form data. You can select by form name (the name you assigned to a form in its tag) and date ranges. XML is the only supported export format at this time. Maybe we'll sexy this up some day and make listings browsable through the admin but the most common use case is probably exporting data, and that's what we needed at the time, so it is what it is. If you'd like to extend it, we definitely welcome submissions. This extension is based on the Mailer extension by Matt McCray and (originally) Sean Cribbs. It was inspired by a post on SuperGloo's blog https://code.supergloo.com/2007/12/12/radiant-cms-database-form-extension but should be a bit more flexible than what was described there, allowing you to add arbitrary forms at will without adding database tables (model attributes for the FormResponse model are serialized and stored in a content text area). Developed by Nick Plante for Ubikorp Internet Services. Tested on Radiant 0.6.4. https://github.com/zapnap/database_form https://blog.zerosum.org https://www.ubikorp.com