Jump to content


Hide field only edit or add

hide field

  • Please log in to reply
1 reply to this topic

#1 Cleiton Garcia

Cleiton Garcia

    Newbie

  • Members
  • Pip
  • 4 posts
  • LocationBrazil

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!


Regards,
Cleiton Garcia.

#2 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 23 January 2014 - 12:48 AM

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

http://www.grocerycr...ons/edit_fields







Also tagged with one or more of these keywords: hide, field

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users