Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Value by default in...
 
Notifications
Clear all

Value by default in charge field

2 Posts
2 Users
0 Reactions
1,710 Views
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 
[#6217]

Hi,

The field in attachment is mandatory to go through next status. But by default, the value of this field is 0, and it seems i'm not able to change that. It means that even if i setup that field as mandatory, each user can go through next status by letting 0 value in the field which is incorrect.

Could you please help ?


 
Posted : 27 Aug 2019 10H18
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

No, this is not normal.
This comes from PHP 7.1 compatibility.
Before numeric values could be null (nothing, not evben zero)
So setting to zero was like filling the value.
Now, because of PHP 7.1 requirements, numeric values are set by default to zero.
So there is no cange between null and zero.
Possibly we may enforce the control , but we must check that this will not have unexpected side effects

Ticket #4179


 
Posted : 29 Aug 2019 18H08
Share:

Scroll to Top