I need to populate the list because I have a lot of fields to insert and I can not use the form elements via code.
Is there a way to populate the list from code? Do you have any practical examples available?
example: populate the list with all the cities in the world. There is too much data to insert/edit manually.
Populate Programmatically Dropdown umbraco forms
Hi guys, there is a way to populate Prorammatically a Dropdown List inside Umbraco Forms?
Thanks
I tend to create a custom FieldType for Umbraco forms when doing things like this.
https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Extending/Adding-a-Fieldtype
You can populate the dropdown in the partial view file with Razor.
the dropdown is inside an umbraco form, how can I access it? Is there a way to communicate with the umbraco forms fields?
You should be able to edit the drop down values manually, is that what you mean? In the forms section in the CMS
I need to populate the list because I have a lot of fields to insert and I can not use the form elements via code. Is there a way to populate the list from code? Do you have any practical examples available?
example: populate the list with all the cities in the world. There is too much data to insert/edit manually.
Marco did you get a fix for this
is working on a reply...