diff --git a/docs/basic-concept.md b/docs/basic-concept.md index b87932ac6799f5ce88ebe29af47ad57f4e65f579..784a9f6c23ab65cd03f9e314b60d3120f4cd4673 100644 --- a/docs/basic-concept.md +++ b/docs/basic-concept.md @@ -80,8 +80,9 @@ As time goes by and more people start using and enhancing the **Action Provider* !!! Note "Create your own" It is possible to develop your own specific actions, or indeed generic ones that others can use too! Check the relevant sections in this guide: - * [Introduction to creating your own][create-your-own-introduction.md] - * [Example of Email Preferences][email-preferences.md] + + * [Introduction to creating your own](create-your-own-introduction.md) + * [Example of Email Preferences](email-preferences.md) In this example we have a first step: find the contact with the data from the form: @@ -106,10 +107,21 @@ I can specify here what criteria I want to use, in this example I have specified At the *retrieval methods* part I can select how I want to retrieve my data. Here I would like an action called *Find contact with checksum*. Unfortunately that is not available yet because it has not been developed yet, but you get the gist. -And it will be developed in the section [Email Preferences][email-preferences.md]. +And it will be developed in the section [Email Preferences](email-preferences.md). For each of my input fields I can finally specify what data should be loaded here, which should come from the result of my action. +## Output Handler + +At the bottom of the form where you edit or create your form processor there is also a bit about an *output handler*: + + + +This gives you the option to manipulate the output that is sent back to the public website once all the actions have been executed. +If you do not specify anything, the default value of *send everything* then all the data involved is sent back (inputs, output from actions etc.). + +If you decide for example you only want to send the ID of the contact back you can select the *decide what to send* and specify what from all the available data should be send back and how it is called. + ## That's it! If you click on the *Retrieval of defaults* tab in the **New Form Processor** form you will get a form like this: @@ -117,7 +129,7 @@ And that is all! A form to be used without coding. Once I saved the form process  -So far the basic concept. Obviously the public website part needs to be done too, check the [Example Sign Up Newsletter][sign-up-newsletter.md] section for that part, this section just covers the basis principles. +So far the basic concept. Obviously the public website part needs to be done too, check the [Example Sign Up Newsletter](sign-up-newsletter.md) section for that part, this section just covers the basis principles. diff --git a/images/output-handler.png b/images/output-handler.png new file mode 100644 index 0000000000000000000000000000000000000000..f33be24589c82f3c7c61de166afd10431bea489b Binary files /dev/null and b/images/output-handler.png differ