Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • albert
  • albert's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 70
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

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

  • albert
  • albert's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 70
  • Thank you received: 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 !

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.049 seconds

I must say that I'm leaps and bounds ahead of where I would have other been with J2.5 with full thanks to the folks on this forum and specifically to Cook so you'll never hear me complaining.
gdpodesta (Forum)  

Get Started