Welcome, Guest
Username: Password: Remember me

TOPIC: How to parse a field for/before input on jForm?

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

  • gdpodesta
  • gdpodesta's Avatar
  • Offline
  • Senior Member
  • Posts: 75
  • Thank you received: 8
  • Karma: -42
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! :)
Last Edit: 22 Dec 2012 00:06 by gdpodesta.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Item Model > prepareTable()
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.083 seconds

Get Started