Welcome, Guest
Username: Password: Remember me

TOPIC: only read depending on value

only read depending on value 17 Nov 2014 15:13 #12784

  • albert
  • albert's Avatar
  • Offline
  • Senior Member
  • Posts: 70
  • Thank you received: 2
  • Karma: 2
Hi,
I am doing an application where the user can edit their own entries, but i would like that depending on a date or a determinate value from the form, the access would be only read access.
I guess i should do this check on view.html.php file, but i do not know which code to use for making it only readable instead of editable.

thanks in advance
The administrator has disabled public write access.

only read depending on value 18 Nov 2014 15:53 #12786

  • albert
  • albert's Avatar
  • Offline
  • Senior Member
  • Posts: 70
  • Thank you received: 2
  • Karma: 2
What i did is to make a fly view and a form view and in the view, depending on the value or role i called the form or the fly !
The administrator has disabled public write access.
Time to create page: 0.048 seconds

Get Started