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

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started