Differences

This shows you the differences between two versions of the page.

english:phpwcms-system:article:contentparts:form:special-applications:cp-after-form-input [2009/09/17 14:13]
Knut Heermann (flip-flop)
english:phpwcms-system:article:contentparts:form:special-applications:cp-after-form-input [2018/06/03 18:09] (current)
Line 31: Line 31:
\\ \\
-We use in the field "on success" the [PHP] tag and put in the direct function call of the tag {SHOW_CONTENT}. The **[**tags**]** in square brackets are permitted :-?+For the field "on success" we'll make use of the [PHP] tag by inserting the direct function call of the tag {SHOW_CONTENT}. The **[**tags**]** in square brackets are permitted :-?
For reloading the CP with the ID=2 we would write: For reloading the CP with the ID=2 we would write:
<code php>[PHP]echo showSelectedContent('CP,2');[/PHP]</code> <code php>[PHP]echo showSelectedContent('CP,2');[/PHP]</code>
-That´s it, the CP ID=2 is loading after the form is filled up.+That´s it, the CP ID=2 is loading after the form is filled in.
\\ \\
Line 42: Line 42:
===== Solution 2: ===== ===== Solution 2: =====
-We can achieve however with the assistance of a PHP script, which uses a new function, our goal. (Available since release r282).+However- we can achieve our goal with the assistance of a PHP script useing a new function. (Available since release r282).
-This function can read, change and return all form inputs. It puts itself temporally between the action submit and to dispatching the email.+This function can read, change and return all form inputs. It temporally puts itself between the submit action and the dispatching of the email.
-The function call must be registered in form in the field "PHP function:" below **"recipient - template:"**. //(See picture below)//. +The function call must be registered in the field like "PHP function:" below **"recipient - template:"**. //(See picture below)//.
english/phpwcms-system/article/contentparts/form/special-applications/cp-after-form-input.1253189595.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0