For all my Easymode forms I want to automatically fill in the name and Email fields with those of the currently logged in user

With EasyMode forms, the PHP code is different, and has to be entered in the Form Settings > Scripts > Init Scripts section. Here is an example of what you would need to enter: 

<?php
echo '
var _name = "'.JFactory::getUser()->get('name').'"
var _email = "'.JFactory::getUser()->get('email').'"
var _username = "'.JFactory::getUser()->get('username').'"
';
?>

function ff_YourFormName_init()
{
     ff_getElementByName('name').value = _name;
     ff_getElementByName('email').value = _email;
     ff_getElementByName('username').value = _username;
} // ff_YourFormName_init

Make sure you change the YourFormName part of the code above to the actual name of your form.

 

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!