Hidden fields
Archived from the Xataface Users forum.
njw — Wed Aug 16, 2006 3:08 am
Fields that are set to hidden on the edit tab (and don’t display) are visible on the view tab. Can this be changed?
Thanks
Neil
dal — Fri Aug 18, 2006 11:07 am
Yeah, I noticed the same thing. I guess you can override the view tab template manually, and not display any hidden fields.
Maybe there’s an easier way to do this…We’ll have to wait until Steve gets back and see.
shannah — Sat Aug 19, 2006 10:34 pm
Sometimes you may want a field to be hidden on the edit form yet displayed on the view form (e.g. the auto increment id). I have created another attribute “visibility:browse” in version 0.6.2 (now available at http://prdownloads.sourceforge.net/dataface/dataface-0.6.2.tar.gz?download) that can be used to “hide” a field in the view tab:
e.g.
[fieldname]
visibility:browse = hidden ; will cause field to be hidden in view tab.
Best regards
-Steve
njw — Mon Aug 21, 2006 4:36 am
Thanks Steve. It was the auto increment field I specifically wanted to hide!
Neil