Show previous form input values in viewlet for PloneFormGen.
Project description
Introduction
collective.pfg.showrequest shows field labels and values on the next form generated by PloneFormGen.
Currently tested with
Plone-4.3
Products.PloneFormGen-1.7.8
Python-2.7.x
Sometimes, you might need to chain forms to create wizard like forms where you want to show field input results from the previous form. This package serves for this need by simply registering viewlet to plone.app.layout.viewlets.interfaces.IAboveContentBody interface.
How To
Once you have quickinstalled collective.pfg.showrequest, go to the Form Folder (Form2) where you want to show the field results.
There is Show Request button under Actions, so click it. Input field ids from the previous form (Form1) and save it.
The order will effect the resulting order.
Copy the field types from the Form1 to the Form2 with default values and overrides empty.
To show the field result correctly, you need to have the same field in both Form1 and Form2 for the showing fields.
You will see previous form results above the content body now like it is on thanks page.
Changelog
0.6 (2013-05-06)
Moved test packages to extras_require. [taito]
Tested with Plone-4.3. [taito]
0.5.1 (2013-03-23)
Updated to work with Products.PloneFormGen-1.7.7. [taito]
Tested with Plone-4.2.5. [taito]
0.5 (2013-01-06)
Tested with Plone-4.2.3 and Products.PloneFormGen-1.7.6. [taito]
Added testing integration to Travis CI. [taito]
0.4 (2012-11-14)
Tested with Plone-4.2.2 and Products.PloneFormGen-1.7.4. [taito]
0.3 (2012-09-17)
Tested with Plone-4.2.1. [taito]
0.2.0 (2011-04-22)
Added control on showing field results.
0.1.0 (2011-04-21)
Initial release
Installation
If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:
Add collective.pfg.showrequest to the list of eggs to install, e.g.:
[buildout] ... eggs = ... collective.pfg.showrequest
Re-run buildout, e.g. with:
$ ./bin/buildout
Credits
Finnish Association for Nature Conservation (Suomen Luonnonsuojeluliitto) who uses this package in their site: http://www.sll.fi
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.pfg.showrequest-0.6.zip
.
File metadata
- Download URL: collective.pfg.showrequest-0.6.zip
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f17d73d8db58f56f7050602cf455de7ea5327272629bcbba19727e5392e363 |
|
MD5 | be2e0223499128af9544ec7670dbf6fa |
|
BLAKE2b-256 | 5cd12a09bdeaf65e93611a04fc4523fe9556c7d2b1c8a2b8588452f0c1c69215 |