18-Jun-2013, 03:42 AM
I searched the forum and found some old threads, but can't find a working solution. I tried just about all the ways I found mentioned. I'm using the latest version 3
Im trying to pass my $username to the form. But can't figure it out.
In your manual here- http://www.commentics.org/wiki/doku.php?...html_pages it says to put this in the integration code..:
$cmtx_set_name_value = '';
$cmtx_set_email_value = '';
$cmtx_set_website_value = '';
$cmtx_set_town_value = '';
$cmtx_set_country_value = '';
~~~~~~~~~~~
When I put $cmtx_set_name_value = 'John'; it shows John.. But when I put $username it comes up blank.
I am sure my variable is working because it echos just fine right above the form.
~~~~~~~~~~~~~ UPDATE / EDIT~~~~~~~~~~~
Got it...
$cmtx_set_name_value = $username;
I had to remove the ''
Im trying to pass my $username to the form. But can't figure it out.
In your manual here- http://www.commentics.org/wiki/doku.php?...html_pages it says to put this in the integration code..:
$cmtx_set_name_value = '';
$cmtx_set_email_value = '';
$cmtx_set_website_value = '';
$cmtx_set_town_value = '';
$cmtx_set_country_value = '';
~~~~~~~~~~~
When I put $cmtx_set_name_value = 'John'; it shows John.. But when I put $username it comes up blank.
I am sure my variable is working because it echos just fine right above the form.
~~~~~~~~~~~~~ UPDATE / EDIT~~~~~~~~~~~
Got it...
$cmtx_set_name_value = $username;
I had to remove the ''