Menu

#54 New field type "hidden"

open
nobody
Database (10)
7
2011-10-18
2011-04-22
Anand Bajaj
No

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.

Discussion

  • Olivier Giulieri

    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;}

     
  • Federico Botto

    Federico Botto - 2011-09-26

    Hi evoluteur, and how we could predefine a value? defaultvalue="6", doesn't assign the value

     
  • Olivier Giulieri

    This feature was requested by several users.

     
  • Olivier Giulieri

    • priority: 5 --> 7
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.