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?
Dropdown defaulted to first item when set 'Required'
-
- Posts: 23
- Joined: 2014-12-29 21:46
Re: Dropdown defaulted to first item when set 'Required'
Take a look at this topic:
http://forums.appgini.com/phpbb/viewtop ... 5793#p5758
http://forums.appgini.com/phpbb/viewtop ... 5793#p5758
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper
-
- Posts: 23
- Joined: 2014-12-29 21:46
Re: Dropdown defaulted to first item when set 'Required'
Awesome, thanks Ahmad. I set the default value in AppGini to '1' and it did the trick