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

TOPIC:

How to have updateable and not updateable fields 28 Nov 2013 17:48 #11706

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Hi,
How to have updateable and not updateable fields in a single form view?

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

How to have updateable and not updateable fields 29 Nov 2013 10:13 #11708

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Two ways :

1
a. 'Exploded form'
b. Do not instance input. Only rendering value.

2 (Recommended)
a. Unset the value in the model : prepareTable()
Only existing values in the data are updated.
Coding is now a piece of cake

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

How to have updateable and not updateable fields 29 Nov 2013 10:16 #11709

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
of course, even more simple.


Instance 2 bricks : Form + Fly
The fields in Form are uploadable
The fields in Fly are not.

But the result cannot be mixed. I mean one sub form file is a form, another is the fly.
So they will dispay in 2 different div groups.
Coding is now a piece of cake
The following user(s) said Thank You: vivek

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

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.104 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started