Forums

Template Code

LikeStuff 18 Jan, 2016
I use to create the Email Templates manually but it's taking too long so I am going to use the default form template code instead.

1) The questions on the form are really long so it takes up most of the page horizontally, and the answers are squished to the right. Is there a way to force it to take up no more than a certain amount of the space or have the questions above the answers?

2) When I use the custom field, how can I prevent some from showing on the site and some from being sent in the email?

Thanks!
GreyHead 18 Jan, 2016
Hi LikeStuff,

1. Use CSS to set the column widths in the template table.

2. I have no idea what you are asking :-(

Bob
LikeStuff 18 Jan, 2016
1) When I go to the "code" tab in the form, the form type is "wizard designer". When I look at the code in the "form code" section, it does not look like it's using tables it looks like a lot of divs.

2) For example, the custom code elements that I have on the form is not showing the content in it when it's emailed. Please see the attached, the content in the "Code" section is not showing in the email that I receive.

Thanks!
GreyHead 19 Jan, 2016
Hi LikeStuff,

Your point 1 was - I understood - about the Email Template, not the form HTML?

The default Email template only shows the labels and values from the Form input, if you want to add custom HTML then that has to be added manually,

Bob
LikeStuff 19 Jan, 2016
Sorry I'm a bit confused so let me focus on one issue at a time.

FORM CODE:

As I mentioned above I WAS using the Email Template to style the email that I received when I form is submitted but that takes too much time so I want to use the "form code" that is automatically generated by the system instead.

The issue is that the questions on the form are really long so it takes up most of the page horizontally, and the answers are squished to the right. How can I style it to control the space that the question and answer takes up or how can I make the questions appear above the answers?

I do hope this is clearer.

Thank you!
GreyHead 19 Jan, 2016
Hi LikeStuff,

I don't have any better answer than to edit the HTML / add CSS as needed. If you set the width of the parent div that will stop the code spreading too wide - but it still may not look good in an email.

Bob
LikeStuff 20 Jan, 2016
I guess my confusion is where do I do the editing. Do you mean to edit the HTML / add CSS as needed in the "form code" as per the image above?

Thanks!!
LikeStuff 20 Jan, 2016
Nevermind I think am looking in the wrong place that's why I am confused. I think I should be looking at the template here: Setup > Email > Email Template 😟
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger