Differences

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

english:phpwcms-system:article:contentparts:form:special-applications:inner-field-calculation [2009/05/22 13:21]
Claus
english:phpwcms-system:article:contentparts:form:special-applications:inner-field-calculation [2018/06/03 18:09] (current)
Line 7: Line 7:
-Re: Kann man mit Formularfeldern rechnen?+Re: Is there a way to calculate with form fields?
Posted by Oliver Georgi on Tue Dec 16, 2008 18:30 \\ Posted by Oliver Georgi on Tue Dec 16, 2008 18:30 \\
-Ein einfacher Weg so etwas zu realisieren, ist die Nutzung von (ganz exemplarisch):+A simple approach how to get this going is making use of (just an example):
-a) 1 x hidden Feld (hidden_field_name) im Formular -> das ist das Ziel der Berechnung und kann demzufolge dann als Wert in das Mailformular übernommen werden+a) 1 x hidden field (hidden_field_name) within your form -> this will be the target for your calculation and will be taken over into your mail form then
-b) dazu dann ein frontend_init Script "my_form_init.php":+b) additionally a frontend_init script "my_form_init.php":
<code php> if(isset($_POST['fieldname'])) { <code php> if(isset($_POST['fieldname'])) {
english/phpwcms-system/article/contentparts/form/special-applications/inner-field-calculation.1242991308.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