• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: K2 extra field values in RsForm dropdown field

K2 extra field values in RsForm dropdown field 11 years 7 months ago #24832

  • klox7
  • klox7's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello,
as stated in title, I would like to populate RSForm dropdown field with K2 extra field values (in my case multiple select field). Would something like this be possible with RSForm field? Appreciate any ideas!
Regards
The administrator has disabled public write access.

K2 extra field values in RsForm dropdown field 11 years 5 days ago #27418

  • patrick.jackson
  • patrick.jackson's Avatar
  • OFFLINE
  • Junior Boarder
  • Joomla Consultant, Melbourne Australia
  • Posts: 22
  • Thank you received: 4
klox7,

Hoping that the following can help. Have found your post while trying to do the same thing today. Once I work out the actual code, I will post the various methods back here.

The K2 Extra Fields tables are JSON encoded. So the code you need to use to populate the values needs to do a few things:
  • create a database query
  • use a select query to generate the drop down values
  • json decode the query values
Joomla Consultant & Hosting Provider
Melbourne Australia
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!