JQuery to pre load my data into fields from current user

Devin created the topic: JQuery to pre load my data into fields from current user

Hi,

I need my JQuery to input the First Name, Last Name and Email address of my current logged in user into my form fields,

So far I have:

{
$user = JFactory::getUser();

jQuery("#wdform_6_elementform_id_temp").val($user->name).removeClass("input_deactive").addClass("input_active");

}

Can't seem to get it to pull through - any ideas? I have placed this by the Javascript section before form load

#90283
The following user(s) said Thank You: Shane Nefdt

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


Anoush replied the topic: JQuery to pre load my data into fields from current user

Dear Devin,

Thanks for your inquiry!

I discussed with our development team, they told me that Form Maker does not have such a functionality. But they promise that in near future they develop such a feature :)

Thanks and have a good day!

#90313
The following user(s) said Thank You: Shane Nefdt

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


Time to create page: 0.156 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us