Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By heemalkumar
#813185
Hi Team
I have a dropdown field which is Mandatory and the dropdown includes numbers 1, 2, 3, 4 & 5. I have put a default value as -Please Select-
However, the field on form just shows 1 as default. It doesn't prompt a User in ensuring a correct selection is done.
I have made the field mandatory.
User avatar
By amosbatto
#813196
To force the user to select an option in a dropdown box, mark its required property. In the list of options, the first option should have an empty value. If empty, then the Dynaform cannot be submitted unless the user selects one of the subsequent options in the list that has a value.
MandatoryDropdown.png
MandatoryDropdown.png (17.53 KiB) Viewed 3411 times
By heemalkumar
#813283
Thanks Amos.
The below worked. However, what if my Dropdown list I am getting from a pmt Table. How do I make the dropdown mandatory?
User avatar
By amosbatto
#813304
Create a list of options with just one option which has an empty value:
ListOfOptions.png
ListOfOptions.png (12.76 KiB) Viewed 3389 times
Then, the options which are returned by your SQL query in the PM Table will be added after that first option.
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]