Hello Forum, hello Bob,
i got some problems getting the joomla users filled in some of my text boxes for registrated users.
Before i've switched to ChronoForms, i've used Breezingforms where it was easy getting the informationen i wantend.
I've read the tutorials but i cant get it to work.😟
Here my problem in screenshots:
1. The Problem

2. I want to use the joomla "_users"-table to get the data to work.

3. Thats how it should be

4. What i've inserted in the DB Record Loader "on record found" jet (doesnt work)

5. Here's the full code of my form.
I dont know if it helps you. In Breezingforms i have used following php-code in the textbox-code-editor of the field (for example "name") which has worked for me.
Looking forward to your great reply(s).🙂
Thanks
David
i got some problems getting the joomla users filled in some of my text boxes for registrated users.
Before i've switched to ChronoForms, i've used Breezingforms where it was easy getting the informationen i wantend.
I've read the tutorials but i cant get it to work.😟
Here my problem in screenshots:
1. The Problem

2. I want to use the joomla "_users"-table to get the data to work.

3. Thats how it should be

4. What i've inserted in the DB Record Loader "on record found" jet (doesnt work)

5. Here's the full code of my form.
<div class="ccms_form_element cfdiv_textarea" id="nachricht_container_div"><textarea cols="72" rows="10" class=" validate['required']" title="" type="textarea" name="nachricht"></textarea>
<div class="clear"></div><div id="error-message-nachricht"></div></div><div class="ccms_form_element cfdiv_custom" id="input_custom_2_container_div">Adressangaben
Bitte geben Sie hier Ihre Adressdaten ein, damit wir Sie für eine Rückantwort kontaktieren können.<div class="clear"></div><div id="error-message-input_custom_2"></div></div><div class="ccms_form_element cfdiv_text" id="name_container_div"><label>Name</label><input maxlength="150" size="30" class=" validate['required']" title="" type="text" value="" name="name" />
<div class="clear"></div><div id="error-message-name"></div></div><div class="ccms_form_element cfdiv_text" id="benutzername__container_div"><label>Benutzername:</label><input maxlength="150" size="30" class="" title="" type="text" value="" name="benutzername" />
<div class="clear"></div><div id="error-message-benutzername"></div></div><div class="ccms_form_element cfdiv_text" id="e_mail__container_div"><label>E-Mail:</label><input maxlength="150" size="30" class=" validate['required','email']" title="" type="text" value="" name="email" />
<div class="clear"></div><div id="error-message-email"></div></div><div class="ccms_form_element cfdiv_custom" id="input_custom_6_container_div">Ihre persönlichen Daten werden vertraulich behandelt und nicht an Dritte weitergegeben.<div class="clear"></div><div id="error-message-input_custom_6"></div></div><div class="ccms_form_element cfdiv_submit" id="abschicken_container_div"><input name="abschicken" class="" value="Abschicken" type="submit" />
<div class="clear"></div><div id="error-message-abschicken"></div></div>
I dont know if it helps you. In Breezingforms i have used following php-code in the textbox-code-editor of the field (for example "name") which has worked for me.
<?php
global $user;
$user =& JFactory::getUser();
$userid = $user->id ;
if ($userid > 0)
return JFactory::getUser()->get('name');
else
return ('Bitte als Benutzer einloggen');
?>
Looking forward to your great reply(s).🙂
Thanks
David