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

TOPIC:

How to parse a field for/before input on jForm? 22 Dec 2012 00:06 #6218

I have a column that will be storing parameter/attribute-like data. Columns for each is out of the question because the pairs vary depending on the component installation parameters.

An earlier answer suggested to use $jinput->get with postSaveHook to capture the input and format and save it appropriately, but where would the appropriate place be to parse the data from the database for presentation on the form for edting? I'm assuming that $jinput->set would be the approach, but I'm not clear where the "right" place would be.

Thanks in advance! :)

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

Last edit: by gdpodesta.

Re: How to parse a field for/before input on jForm? 25 Jan 2013 11:10 #6504

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Item Model > prepareTable()
Coding is now a piece of cake

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

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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started