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 3413 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 3391 times
Then, the options which are returned by your SQL query in the PM Table will be added after that first option.

Web3 development encompasses creating decentralize[…]

The Upland Clone Script, offered by Dappsfirm, rep[…]

Dappsfirm offers a bet365 clone script that mirror[…]

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]