8.8

Table Of Contents
l Use PHPArrays:Select to process incoming POSTrequest with input arrays correctly. In
the source HTML, input elements with names such as name="chat[input][name]" or
name="items[][partnum]" will be correctly split as a single XMLnode along with each part
of the array as children.
l
Omit attachments as CDATAnode in the XMLenvelope:Select to remove any
attachments from the actual XMLdata file. Generally the attachments are both saved on
disk and included within the XMLenvelope. This option removes them from the envelope,
but they remain accessible through their direct path. This option has no incidence on any
other option of this task.
Technical
PHPArrays
This is an example of the new "Use PHPArrays"option introduced in Workflow 8.5.
HTMLExample:
<input type="hidden" name="user_account"
value="email@example.com">
<input type="text" name="name" value="Peter Parker">
<input type="text" name="company" value="Objectif Lune">
<input type="text" name="pinElm1[pin_0][left]" value="122">
<input type="text" name="pinElm1[pin_0][top]" value="253">
<input type="text" name="pinElm1[pin_0][type]" value="dent">
<input type="text" name="pinElm1[pin_1][left]" value="361">
<input type="text" name="pinElm1[pin_1][top]" value="341">
<input type="text" name="pinElm1[pin_1][type]" value="dent">
Resulting XMLStructure in HTTPRequest Envelope
<values count="4">
<user_account>email@example.com</user_account>
<name>Peter Parker</name>
<company>Objectif Lune</company>
<pinElm1>
<pin_0>
<left>122</left>
<top>253</top>
Page 749