Hello and thanks for a nice easy piece of form creation...
OK, now to the more difficult part (for me at least)...
I have a form which shall collect a total of 11 different fields from the Community Builder tables inside my Joomla DB and 1 field (the email address) from the users table and fill them into hidden fields inside my form.
I figured out the email address thing with a set-up like this inside the HTML for the form:
However that is a global value so that was pretty easy.. and now I am stucked on retrieving fields like Firstname and Lastname from the jos_comprofiler table for the logged-on user, and honestly I have absolutely no clue how to achieve this and any advice would be highly appreciated.
Thanks
iaweb
OK, now to the more difficult part (for me at least)...
I have a form which shall collect a total of 11 different fields from the Community Builder tables inside my Joomla DB and 1 field (the email address) from the users table and fill them into hidden fields inside my form.
I figured out the email address thing with a set-up like this inside the HTML for the form:
<?php global $my; ?>
<input type="hidden" id="GuestEmail" name="GuestEmail" value="<?php echo $my->email; ?>" />
However that is a global value so that was pretty easy.. and now I am stucked on retrieving fields like Firstname and Lastname from the jos_comprofiler table for the logged-on user, and honestly I have absolutely no clue how to achieve this and any advice would be highly appreciated.
Thanks
iaweb