<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Show value by choosing an option</title><link>https://community.appian.com/discussions/f/general/14591/show-value-by-choosing-an-option</link><description>Hello, Inside my cdt I have a group called country, within it I have three groups and in each one I have a user with their data. My question is, of a form with two fields, in the first I choose the user and after choosing it I want that in the second</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Show value by choosing an option</title><link>https://community.appian.com/thread/65421?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 09:03:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ab4dc30-6c14-42f8-b354-5474258f87ab</guid><dc:creator>Alastr</dc:creator><description>Thanks so much for helping&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show value by choosing an option</title><link>https://community.appian.com/thread/65409?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 19:30:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a94b0f1-940d-4f36-8863-953640f829ee</guid><dc:creator>Josh</dc:creator><description>&lt;p&gt;You need to save the telephone number in the first picker field. Something like&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;load(
local!group: cons!ct_filter,
{
a!pickerFieldUsers(
label: &amp;quot;Contact&amp;quot;,
labelPosition: &amp;quot;ADJACENT&amp;quot;,
maxSelections: 1,
groupfilter: local!group,
value: ri!new.office,
saveInto: {
    ri!new.office,
    a!save(ri!nuevasSolic.telephoneContact, user(save!value, &amp;quot;phoneMobile&amp;quot;))
}
required: true,
validations: {}
),

a!textField(
label: &amp;quot;telephone&amp;quot;,
labelPosition: &amp;quot;ADJACENT&amp;quot;,
value: ri!nuevasSolic.telephoneContact,
saveInto: ri!nuevasSolic.telephoneContact,
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
required: true,
validations: {} 
)
}

)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show value by choosing an option</title><link>https://community.appian.com/thread/65401?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 14:34:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c814eb3b-ea79-4d7f-99d6-e835eb6a4629</guid><dc:creator>Alastr</dc:creator><description>yes, i want to display user related telephone in second field automatically&lt;br /&gt;
This in my code. &lt;br /&gt;
I would like to know what should I put where &amp;quot;xxxxx&amp;quot; is if that part of the code is ok.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
load(&lt;br /&gt;
  local!group: cons!ct_filter,&lt;br /&gt;
  {&lt;br /&gt;
  a!pickerFieldUsers(&lt;br /&gt;
                          label: &amp;quot;Contact&amp;quot;,&lt;br /&gt;
                          labelPosition: &amp;quot;ADJACENT&amp;quot;,&lt;br /&gt;
                          maxSelections: 1,&lt;br /&gt;
                          groupfilter: local!group,&lt;br /&gt;
                          value: ri!new.office,&lt;br /&gt;
                          saveInto: ri!new.office,&lt;br /&gt;
                          required: true,&lt;br /&gt;
                          validations: {}&lt;br /&gt;
                        ),&lt;br /&gt;
                        &lt;br /&gt;
 a!textField(&lt;br /&gt;
                label: &amp;quot;telephone&amp;quot;,&lt;br /&gt;
                labelPosition: &amp;quot;ADJACENT&amp;quot;,&lt;br /&gt;
                value: user(xxxxxxxxxx,&amp;quot;phoneMobile&amp;quot;),&lt;br /&gt;
                saveInto: ri!nuevasSolic.telephoneContact,&lt;br /&gt;
                refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt;
                required: true,&lt;br /&gt;
                validations: {} &lt;br /&gt;
              )&lt;br /&gt;
              }&lt;br /&gt;
  &lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Show value by choosing an option</title><link>https://community.appian.com/thread/65398?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 13:21:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57d1fb89-e263-4711-9163-4ca06f5cfd8a</guid><dc:creator>Malleswari Talakola</dc:creator><description>Please elaborate more, if you choose the user from first field, want to display user related telephone in second field automatically?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>