Forums / Setup & design / About feedback form

About feedback form

Author Message

Pascal France

Wednesday 14 October 2009 12:19:49 pm

Hi,

I use eZP 4.2 and I would like to know if there is a way, with a feedback form, to have:

1°/ a confirmation when we clic on the «Discard» button ?
2°/ a preview of the form before to send it ?

It seems that this 2 functions are only available when we create an object.

By default, DiscardButton redirects to /(index.php)/(siteaccess_name)/content/action and displays an empty page. RedirectIfDiscarded has no effect.

If I add this line in the template which displays the form:

<input class="button" type="submit" name="ActionPreview" value="{'Preview'|i18n('design/standard/node/view')}" />

the preview page only displays the form again but empty. And nothing about the fields which had been filled in.

3°/ the collected infos displayed before the send action and with a send button ?

About this third point, should be the template which displays the form calls (if there is no warnning) the template which collects and displays the infos, which, in its turn, calls the template submission vis a send button.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish