⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Hide field only edit or add



Cleiton Garcia

Cleiton Garcia
  • profile picture
  • Member

Posted 22 January 2014 - 12:59 PM

How to do hide field only in edit or add?

 

Ex.:

 

Field 'date', show to add but not to edit. How todo?

 

I search, but not find. :\

 

Anyone?

 

Thank's

 

@EDIT:

But secretly I fill this field (in code only), but the user can not see it nor change it.

 

And sorry my bad english!


victor

victor
  • profile picture
  • Member

Posted 23 January 2014 - 00:48 AM

use callback before insert or callback before edit.
All answers is here: http://www.grocerycrud.com/documentation

http://www.grocerycrud.com/documentation/options_functions/edit_fields