× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Dynamically show user information in XML form

7 years 7 months ago - 7 years 7 months ago #774 by Walt Sorensen
Dynamically show user information in XML form was created by Walt Sorensen
Can you display user information in an Joomla xml form after selecting the user via the field type type="user" ?
I've looked at a lot of tutorials but nothing seems explain how to select a user then display certain information via an xml form (there seems to be plenty on doing this in a php form, just nothing about doing in XML).

Basic concept I'm working on is to select the user and show the user name and email in the form along with some additional fields:
<?xml version="1.0" encoding="utf-8"?>
      <field name="user_id" type="user"       
                    required="true"  /> 
      <field name="username" type="text"
                <field name="user_email" type="text"
What modifications are needed  in this XML to have the form dynamically show the user's information in the form when the user is selected?
Thanks for your help and guidance in this topic
Last edit: 7 years 7 months ago by Walt Sorensen. Reason: fix the formatting

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

Time to create page: 0.142 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.