RE: Single Select Field in Form

Manish Kharkar, modified 6 Years ago. New Member Posts: 24 Join Date: 12/8/14 Recent Posts

Hello,

We want to have a single select field in the form to populate the countries.

We want the Country names to be displayed in the drop down, and country code to be returned as a part of form submit data.

While this looked possible by using data provider and "Displayed JSON Attribute" and "Stored JSON Attribute" in older version, we are not able to figure out a way to do this in Liferay 7.1 yet.

Any pointers please?

Regards,

Manish.

 

thumbnail
Nagendra Kumar Busam, modified 6 Years ago. Liferay Master Posts: 678 Join Date: 7/7/09 Recent Posts
Do you have any links/blogs for old version example, that way somebody can see how it can be done OR might be already there in source somewhere.
Manish Kharkar, modified 6 Years ago. New Member Posts: 24 Join Date: 12/8/14 Recent Posts

https://dev.liferay.com/hu/discover/portal/-/knowledge_base/7-0/creating-advanced-forms

This link has the details in the ‘Adding and configuring Data Provider’ section.