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.078 seconds

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started