<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug: Arrays and dictionaries in set input fields]]></title><description><![CDATA[<p dir="auto">Using an array or dictionary in a set input field doesn't work properly. Here's an example:</p>
<p dir="auto"><img src="https://assets.forum.hyperpad.com/assets/b3a027c7-fcee-42cd-bc66-827ba57bc6dd.PNG" alt="0_1512528942819_IMG_0615.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">The array is:</p>
<p dir="auto">0: This is the value at index zero<br />
1: This is the value at index one</p>
<p dir="auto">The text input gives this:</p>
<p dir="auto">(     "&lt;BehaviourInputField: 0x174a56c50&gt; = {   \n\tControlled By = self   \n\tValue Key = (null)   \n\tValue: This is the value at index zero   \n}",     "&lt;BehaviourInputField: 0x17444add0&gt; = {   \n\tControlled By = self   \n\tValue Key = (null)   \n\tValue: This is the value at index one   \n}" )</p>
<p dir="auto">Dictionaries do the same thing:</p>
<p dir="auto">{     "my first key" = "&lt;BehaviourInputField: 0x170e56410&gt; = {   \n\tControlled By = self   \n\tValue Key = (null)   \n\tValue: my first value   \n}";     "my second key" = "&lt;BehaviourInputField: 0x170c50440&gt; = {   \n\tControlled By = self   \n\tValue Key = (null)   \n\tValue: my second value   \n}"; }</p>
<p dir="auto">Edit: moved to bug report section, originally posted to help and support.</p>
]]></description><link>https://forum.hyperpad.com/topic/760/bug-arrays-and-dictionaries-in-set-input-fields</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 20:16:36 GMT</lastBuildDate><atom:link href="https://forum.hyperpad.com/topic/760.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Dec 2017 04:02:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug: Arrays and dictionaries in set input fields on Wed, 06 Dec 2017 09:30:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thecheater887" aria-label="Profile: Thecheater887">@<bdi>Thecheater887</bdi></a> no, arrays and dictionaries are supposed to be returned in json, so it should return:<br />
["This is the value at index zero","This is the value at index one"]</p>
<p dir="auto">It works fine if I put the array output directly in the text input.</p>
<p dir="auto">If this wasn't a bug it'd be a huge inconsistency since it returns in json format all other ways except in a set input field.</p>
]]></description><link>https://forum.hyperpad.com/post/5110</link><guid isPermaLink="true">https://forum.hyperpad.com/post/5110</guid><dc:creator><![CDATA[Jack8680]]></dc:creator><pubDate>Wed, 06 Dec 2017 09:30:03 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: Arrays and dictionaries in set input fields on Wed, 06 Dec 2017 09:26:26 GMT]]></title><description><![CDATA[<p dir="auto">This isn't a bug.</p>
<p dir="auto">If you print an array in, say, C#, this is what you will see; a summary of the printed object.</p>
<p dir="auto">Now, if you print Array[0] + Array[1], you will see This is the value at index 0.This is the value at index 1. This is because it now knows to pull and print the contained strings, rather than print the array itself.</p>
<p dir="auto">Dictionaries <em>should</em> work the same way.</p>
]]></description><link>https://forum.hyperpad.com/post/5109</link><guid isPermaLink="true">https://forum.hyperpad.com/post/5109</guid><dc:creator><![CDATA[Thecheater887]]></dc:creator><pubDate>Wed, 06 Dec 2017 09:26:26 GMT</pubDate></item></channel></rss>