cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
How i can edit the html in Admin Email Message Options?
May 12, 2011
11:39 am

Hello I having a problem on Admin Email Message Options with the html. When i tried to print an email the answers are corrupted at the end of the page. The reason is because i have some questions more than 20 characters plus the spacing between labels & data. How i can change the size of the fonts or the width of my email to set it to A4 page or the spacing between label? i have tried to change the css but it still not working.

Can you help me please?

June 9, 2011
5:17 pm

I have the same issue. Did you ever get a reply or a solution to printing the form results? I'd love to save a tree but my client wants to print it and the format is too wide when the results arrive via email.

January 30, 2012
1:18 pm

File lib_aux.php line 206 and 210.


206: $h .= '<tr><td style=3D"width: 290px; padding: 5px 10px 5px 0; text-align: left;">' . $hk . '</td><td style=3D"width: 290px; padding: 5px 0 5px 10px; text-align: left;">' . $hv . '</td></tr>' . "\r\n";
style="write your styles for TD"
210: $r['html'] = '<p style="'.$cformsSettings['global']['cforms_style_title'].'">'.$cformsSettings['form'.$no]['cforms'.$no.'_fname'].'</p><table width=3D"600" cellpadding=3D"0" cellspacing=3D"0" style="'.$cformsSettings['global']['cforms_style_table'].'">'.stripslashes($h).'</table>';

table width="width for table and other parameters".
I hope has helped. Forgive for bad English. I from Russia :)

January 30, 2012
5:22 pm
Amsterdam, NL
Forum Posts: 421
Member Since:
February 10, 2009


If you want to apply your own styling and/or change the layout of the admin email, don't change the core code! This will stop you from upgrading smoothly.

Instead use the "admin email message" settings to define your own custom template with all data fields etc. See your help! page as well.


* Paul Silter
July 17, 2012
2:31 am
Graphic Flavours

I have the same issue. I would like to shorten the height of the text line

I read that i should:

"However if you wish to completely customize the admin email, including the data block (user submitted data) you need to disable the (Footer) part under 'Admin Email Message Options' and create your own HTML / data table structures with your own HTML tags, text and data references (custom variables)."

But I'm not sure how do to it, can anyone give me example of what to write in or what is the current styling for the input email?


Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
47 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)