<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Is it possible to populate the fields of a Form before presenting it to the</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121400224" />
  <subtitle>Is it possible to populate the fields of a Form before presenting it to the</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121400224</id>
  <updated>2026-04-04T23:05:47Z</updated>
  <dc:date>2026-04-04T23:05:47Z</dc:date>
  <entry>
    <title>RE: Is it possible to populate the fields of a Form before presenting it to the</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121408893" />
    <author>
      <name>Ivano Carrara</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121408893</id>
    <updated>2022-04-25T15:03:35Z</updated>
    <published>2022-04-25T15:03:34Z</published>
    <summary type="html">&lt;p&gt;Hi Russell,&lt;/p&gt;
&lt;p&gt;Thank you very much for your support on this.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Ivano&lt;/strong&gt;&lt;/p&gt;</summary>
    <dc:creator>Ivano Carrara</dc:creator>
    <dc:date>2022-04-25T15:03:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Is it possible to populate the fields of a Form before presenting it to the</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121408745" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121408745</id>
    <updated>2022-04-25T14:11:36Z</updated>
    <published>2022-04-25T14:11:33Z</published>
    <summary type="html">&lt;p&gt;Ivano, after discussing with the team I filed this bug ticket: &lt;a
  href="https://issues.liferay.com/browse/LPS-152074"&gt;LPS-152074&lt;/a&gt;. It
  contains steps that should work to autofill a text field with a data
  provider. Ovciously since it's a bug ticket the steps are not
  currently working, so let's hope the team can pick up this ticket soon.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-04-25T14:11:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Is it possible to populate the fields of a Form before presenting it to the</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121404180" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121404180</id>
    <updated>2022-04-21T15:59:45Z</updated>
    <published>2022-04-21T15:59:45Z</published>
    <summary type="html">&lt;p&gt;It should be possible. The Select form List field is the only one
  with the native configuration to populate from a data provider, but
  you should be able to use the &lt;a
    href="https://learn.liferay.com/dxp/latest/en/process-automation/forms/form-rules/using-the-autofill-rule.html"&gt;Autofill
  Rule&lt;/a&gt; to populate a text or numeric field. &lt;/p&gt;
&lt;p&gt;For example, use a country data provider, I should be able to
  configure an input (like, have the User enter their country) and then
  autofill a text field with the region (e.g., Europe). I tried this
  just now and couldn't get it to work though. I'll ask the team if
  there's a bug and get back to you.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-04-21T15:59:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Is it possible to populate the fields of a Form before presenting it to the</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121402445" />
    <author>
      <name>Ivano Carrara</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121402445</id>
    <updated>2022-04-20T08:48:20Z</updated>
    <published>2022-04-20T08:48:19Z</published>
    <summary type="html">&lt;p&gt;Hi Russel, thank you very much. Your comment was very clear and helpful.&lt;/p&gt;
&lt;p&gt;Do you think it is possible to populate other types of fields (text,
  numeric, etc.) with values produced by REST Data Provider?&lt;/p&gt;</summary>
    <dc:creator>Ivano Carrara</dc:creator>
    <dc:date>2022-04-20T08:48:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Is it possible to populate the fields of a Form before presenting it to the</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121401025" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121401025</id>
    <updated>2022-04-21T16:18:06Z</updated>
    <published>2022-04-18T20:12:49Z</published>
    <summary type="html">&lt;p&gt;Hi Ivano, you can populate a Select from List field in the Forms
  application with a &lt;a
    href="https://learn.liferay.com/dxp/latest/en/process-automation/forms/data-providers/using-the-rest-data-provider-to-populate-form-options.html"&gt;REST
    Data Provider.&lt;/a&gt; By default the Select from List field allows only
  one selection, but you can go into its Advanced properties and set it
  to allow multiple selections. This is what it looks like:&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/data-provider_multiselection.png/d53fede7-201d-d1a3-09ab-259cfaa3de55?t=1650312754653&amp;amp;imagePreview=1" /&gt;
  &lt;br /&gt;  &lt;/p&gt;
&lt;p&gt;If you need to write your own data provider, see the &lt;a
    href="https://learn.liferay.com/dxp/latest/en/process-automation/forms/developer-guide/writing-a-custom-data-provider.html"&gt;developer documentation&lt;/a&gt;.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-04-18T20:12:49Z</dc:date>
  </entry>
  <entry>
    <title>Is it possible to populate the fields of a Form before presenting it to the</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121400223" />
    <author>
      <name>Ivano Carrara</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121400223</id>
    <updated>2022-04-15T15:21:26Z</updated>
    <published>2022-04-15T15:20:45Z</published>
    <summary type="html">&lt;p&gt;An example: I would like to create a form with Multiple Selection elements.&lt;/p&gt;
&lt;p&gt;Each Option must contain a value produced by a backend service that
  produces a list of values.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you in advance for any clarification.&lt;/p&gt;</summary>
    <dc:creator>Ivano Carrara</dc:creator>
    <dc:date>2022-04-15T15:20:45Z</dc:date>
  </entry>
</feed>
