Skip to main content

Show contents of request like previous form inputs in viewlet.

Project description

Introduction

collective.pfg.showrequest shows field labels and values on the next form generated by PloneFormGen.

Currently tested with

  • Plone-3.3.5

  • Plone-4.1b2

  • Products.PloneFormGen-1.6.0

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.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

  • Pekka Saari from the 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

collective.pfg.showrequest-0.2.0.zip (28.7 kB view details)

Uploaded Source

File details

Details for the file collective.pfg.showrequest-0.2.0.zip.

File metadata

File hashes

Hashes for collective.pfg.showrequest-0.2.0.zip
Algorithm Hash digest
SHA256 0a6567abb6a45b1c7ffa264e244e48dd79e5444f95d76cd875d4e07b7c17563b
MD5 a6485aec9122b96bd1780b274b6404d3
BLAKE2b-256 a94eb4726f0e01d2f3c97f46cdf2bba145d908e5e474915e1311eefe3a2c431b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page