It would be useful, if we can have new field type 'hidden' similar to html input tag. This would help to set some internal value which should be inserted into database along with other fields except that the user is not required to enter that value.
I know there is a default value option at DB level, but if I want to insert some internal code into DB in different screens exposed underlying same table.
Possible workaround :
1-Specify a class for the field you want to hide (in the XML for the "field" set the attributes cssclass="Hidden" and cssclassview="Hidden"
2-Also remove the field from the list and searches w/ search="4" searchlist="4" searchadv="1" label=""
3- add a "hidden" class in the CSS
.Hidden{display:none;}
Hi evoluteur, and how we could predefine a value? defaultvalue="6", doesn't assign the value
This feature was requested by several users.