Skip to main content

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

  • Products.PloneFormGen-1.7.2

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

collective.pfg.showrequest-0.3.zip (28.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for collective.pfg.showrequest-0.3.zip
Algorithm Hash digest
SHA256 8f477dbc88deec3fa385683e36f8a25f0fb9f02a8da24d2fa3f72242b5075b0c
MD5 8ae2c38189ea16330e057fdab1d67617
BLAKE2b-256 3e9f575f7890029069c287c7ae841cbdf3acc12c044debe2512884448fc41c77

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