Page 1 of 1

PostPosted: Wed Aug 16, 2006 3:08 am
by njw
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

PostPosted: Fri Aug 18, 2006 11:07 am
by dal
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.

PostPosted: Sat Aug 19, 2006 10:34 pm
by shannah
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

PostPosted: Mon Aug 21, 2006 4:36 am
by njw
Thanks Steve. It was the auto increment field I specifically wanted to hide!

Neil