Dropdown defaulted to first item when set 'Required'

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
labib saleh
Posts: 23
Joined: 2014-12-29 21:46

Dropdown defaulted to first item when set 'Required'

Post by labib saleh » 2017-03-11 10:45

Using AppGini 5.51

I'm facing this problem with lookup dropdowns, that is when I set the field to 'Required', I get it populated with the first item in the list by default.. If user overlooked that and didn't change it they would get the record saved with a wrong value.
How can I fix that so dropdowns would initially have blank value or maybe 'Select' so they are forced to select an item?

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Dropdown defaulted to first item when set 'Required'

Post by AhmedBR » 2017-03-11 11:41

AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

labib saleh
Posts: 23
Joined: 2014-12-29 21:46

Re: Dropdown defaulted to first item when set 'Required'

Post by labib saleh » 2017-03-11 20:35

Awesome, thanks Ahmad. I set the default value in AppGini to '1' and it did the trick :mrgreen:

Post Reply