• 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: how to display values for previously filled fields

how to display values for previously filled fields 2 years 7 months ago #42224

Hi,

I have a form which works with checkboxes and selectize fields.

Screenshot: https://drive.google.com/file/d/128KVzizcejmTzSqBlOqA8DxeiT2d_GCX/view?usp=sharing

Now I need to find a way how to display the values which have been entered when the form was used last time. I know how to get and display the username, email etc. by adding the php code to the field
//<code>
    $user = JFactory::getUser();
    return $user->get('username');
//</code>

But I am struggeling with getting the values for the selectize fields and display them. As a result the checkboxes should appear "clicked" and the selectize fields should show the previously selected values. I guess this is possible by pulling the values from the database and display them as a default value in the form, but my coding skills are not good enough to do that.

Can anyone please help me with this task?

Thanks
Uwe
Last Edit: 2 years 7 months ago by webmaster3020. Reason: more information
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!