mcanedo
mcanedo

Reputation: 445

How to use readolny fields in a MVCForm in atk4?

I want to have a form where user can edit some (but not all) values of some fields. So I would need to set some fields as read only, is that possible?

Upvotes: 1

Views: 68

Answers (1)

mcanedo
mcanedo

Reputation: 445

Got it!

$f->getElement('name')->disable();

Upvotes: 1

Related Questions