Forums

User login (hiden field) and multiplier

fredza 05 Dec, 2015
Hello,

In Chronoform 5
How to insert in a hiden field the user login Joomla.

This field is it send by mail ?


Another question :

In my form (multiplier form)
How to send by mail all fields and contain.

Thanks for the response
GreyHead 05 Dec, 2015
Hi fredza,

What do you want in the hidden field exactly? This FAQ mayhelp.

Please see this FAQ for the multipler - check the Repeater code at the end.

Bob
fredza 05 Dec, 2015
Hello,

Thanks for the response.

In the hidden field, I would the username (Joomla Username login), my site is only accessible to register user.

Frédéric
GreyHead 05 Dec, 2015
Hi Frédéric,

As in the FAQ
<?php
$juser = \JFactory::getUser();
$form->data['username'] = $juser->username();
?>

Bob
This topic is locked and no more replies can be posted.