- Posts: 164
- Thank you received: 5
autocompile fields about account
- Andrea Baldoni
- Topic Author
- Offline
- Elite Member
-
Less
More
10 years 7 months ago #48064
by Andrea Baldoni
autocompile fields about account was created by Andrea Baldoni
hi, i created a form using chronoform in customer area of my web site; customers use it to send me informazioni about eshop configuration; i'd like autocompile fields about firstname, lastname, email, phone and email when a loged in user uses this form. i mean like in eshop edit account form, i have precompiled all information about user.
in chronoform form i added:
in value of firstname field <?php echo isset($this->user->firstname) ? $this->user->firstname : $firstName; ?>
in value of lastname field <?php echo isset($this->user->lastname) ? $this->user->lastname : $lastName; ?>
in value of email <?php echo isset($this->user->email) ? $this->user->email : $this->rowUser->email; ?>
and so on but not works.
maybe i have to add a php code at the beginning of the page to get that information? i have also to rename the fields with same names, i mean firstname, lastname...?
tx
in chronoform form i added:
in value of firstname field <?php echo isset($this->user->firstname) ? $this->user->firstname : $firstName; ?>
in value of lastname field <?php echo isset($this->user->lastname) ? $this->user->lastname : $lastName; ?>
in value of email <?php echo isset($this->user->email) ? $this->user->email : $this->rowUser->email; ?>
and so on but not works.
maybe i have to add a php code at the beginning of the page to get that information? i have also to rename the fields with same names, i mean firstname, lastname...?
tx
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
10 years 7 months ago #48281
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic autocompile fields about account
Hello Andrea,
You can not use source code of EShop in Chronoform. The your code will not work. You should find a way to do that by yourself because this is out of support area of EShop.
Sincerely, Giang
You can not use source code of EShop in Chronoform. The your code will not work. You should find a way to do that by yourself because this is out of support area of EShop.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.