Questions about Payment Form extension

Autofill fields from users joomla profile

  • jimwid
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #71452 by jimwid
Hi,

Im currently using the easyprofile component for user register/profile, and for a few additional user fields (phone number, nationality, etc)

Id just like the data from the users profile to autofill fields on the Joomdonation Payment Form.

I can use the following code on the default value on my contact form, but unfortunately this isn't working on the JoomDonation Payment Form.
Code:
<?php require_once(JPATH_SITE.'/components/com_jsn/helpers/helper.php'); return JsnHelper::getUser()->getValue('phone'); ?>

Any help would be very much appreciated, I have searched the forum and surprised to see nobody has asked about this previously, thanks again!!!!!

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

More
8 years 5 months ago #71715 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Autofill fields from users joomla profile
We don't have support for Easy Profile at the moment (only support for Joomla core user profile), so we had to edit the code on the site which @jimwid is working on to get it works as expected.

Something we will try to add support for in the extension in the future

Tuan

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

  • jimwid
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #71724 by jimwid
Replied by jimwid on topic Autofill fields from users joomla profile
Many thanks for that Tuan!!! Much appreciated!!! :)

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

Moderators: Tuan Pham Ngoc