NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:form:special-applications:automatic-subject [2009/05/13 03:49] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:form:special-applications:automatic-subject [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n>10}} | {{indexmenu_n>10}} | ||
| - | ====== Automatic subject ====== | + | ====== Data transfer to a form ====== |
| + | **An example for using a automatic subject in form.** | ||
| - | Post by markus_s \\ | + | Posted by markus_s \\ |
| - | Forum:[[http://forum.phpwcms.org/viewtopic.php?p=92977#p92977]] | + | Forum: [[http://forum.phpwcms.org/viewtopic.php?p=92977#p92977]] |
| + | |||
| + | **Using this tools you can write a hidden form field into the "subject" of the e-mail ...** | ||
| To use a //hidden field// please have a look ... | To use a //hidden field// please have a look ... | ||
| - | ok - if you want the name of the artikel in the mail subject, | + | Ok - if you want the name of the artikel in the mail subject |
| - | to identify your contact forms you need a new .php file in your frontend render. | + | to identify your contact forms, you need a new **.php** file in your frontend render. |
| - | Mit diesem Tool wird aus einem Formular ein verstecktes Feld in den "subject" des eMails geschrieben... | + | **The problem:** \\ |
| + | In several "articles" I uses a form for contact. //(Course registration)// | ||
| + | I need the info to this course without a specially registration, | ||
| + | after a customer has registered himself by the contact form to this course. | ||
| - | > Problemstellung: In mehreren "Artikeln" befindet sich ein Kontaktformular. //(für Kursanmeldung)// | + | |
| - | > Nun brauche ich, nachdem sich ein Kunde über das Kontaktforumlar angemeldet hat, | + | |
| - | > die Info zu diesem Kurs ohne dass dies der Kunde extra eintragen muss. | + | **Let´s go:** |
| - | > Und so gehts: | + | \\ |
| - | > | + | **1.** Make in your contact form a ##hidden field## with the name ##mailsubject##. |
| - | **1.** Make in your contact form a ##hidden field## with name ##mailsubject##. | + | |
| {{:deutsch:andere-erweiterungen:hidden_field.jpg|}} | {{:deutsch:andere-erweiterungen:hidden_field.jpg|}} | ||
| - | <code php|h type in the field "Value":> | + | Type in the field "Value": |
| + | <code> | ||
| [%GLOBAL_FORM_SUBJECT%] | [%GLOBAL_FORM_SUBJECT%] | ||
| </code> | </code> | ||
| Line 46: | Line 52: | ||
| **4.** Now the article title is seen in the subject from your email - now, you can ident the different contact forms ... | **4.** Now the article title is seen in the subject from your email - now, you can ident the different contact forms ... | ||
| - | Have a look too: [[english/other-enhancements/send-a-friend|Send a friend]] | + | Have a look too: [[english/phpwcms-system/article/contentparts/form/special-applications/send-a-friend|Send a friend]] |