• 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: populate form

populate form 10 years 8 months ago #28420

  • sales765
  • sales765's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
im looking to choose a user from a drop down, and have the submitted form be assigned to their user id.
also is there a way to extend the registration fields to map to the joomla extended registration. such as address, phone, etc.

thanks in advance
The administrator has disabled public write access.

populate form 10 years 8 months ago #28424

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Can you please be more specific on the scenario you're trying to achieve? For example, if you wish to populate a dropdown field with all the registered users from your Joomla! installation, you can adapt the following example so it fits your scenario:

http://www.rsjoomla.com/support/documentation/view-article/94-auto-populate-a-list-from-a-table.html

basically, you will have to change only the query to give you the user Id as value and the username as label..
e.g.
$db->setQuery("SELECT id, username FROM #__users");
$results = $db->loadObjectList();
My help is not official customer support. To receive your support, submit a ticket by clicking here
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!