You are viewing limited content. For full access, please sign in.

Question

Question

Background of Form body - Don't want displayed on "Thank You Page"

asked on August 24, 2016

I have a customer who has a logo on the top of their 'Form Body' background, and when it shows the thank you message after submission, it's displaying the form body background. Is there an easy fix for changing it to just white? I had them try using HTML in the thank you message to include <BODY BGCOLOR="#FFFFFF"> but the system auto wipes it out. 

 

Any suggestions?

0 0

Answer

SELECTED ANSWER
replied on August 31, 2016

Shaun, for "Save as Draft" message settings, it sets the message format for the email (after you click save as draft, you will receive an email showing that message and a link to the draft). For now, the thank you message after you click "Save as Draft", it's generated from backend because there would be a link to the draft and currently we don't support customizing the thank you message after save as draft.

 

If the customer really wants to remove the style from the Thank you page after the "Save as Draft", search "Draft.cshtml" in the forms installation folder (normally it's path/to/forms/Forms/Views/Form/Draft.cshtml), Line 58, delete 

class="cf-formwrap"

That is to say, change Line 58

<div id="draft-confirm-box" class="cf-formwrap">

to

<div id="draft-confirm-box">

 

This will prevent the Thank you message after "Save as Draft" from inheriting the background image set from the form body. Hope this works.

0 0

Replies

replied on January 12, 2017

Forms 10.2 has fixed this issue by not showing the background of Form Body on thank you page.

1 0
replied on August 24, 2016

You can add an inline style as below by using HTML in Thank You Message (an example attached):

 

<style>.cf-formwrap { background-image: none; }</style>

 

2016-08-24_1432.png
0 0
replied on August 25, 2016

Worked perfectly, thank you!!

0 0
replied on August 31, 2016

Ming, is there a reason why this would be different for the 'Save as Draft' feature? I've added that style line in the 'Save as Draft' message, but it doesn't take out the background image. 

1 0
SELECTED ANSWER
replied on August 31, 2016

Shaun, for "Save as Draft" message settings, it sets the message format for the email (after you click save as draft, you will receive an email showing that message and a link to the draft). For now, the thank you message after you click "Save as Draft", it's generated from backend because there would be a link to the draft and currently we don't support customizing the thank you message after save as draft.

 

If the customer really wants to remove the style from the Thank you page after the "Save as Draft", search "Draft.cshtml" in the forms installation folder (normally it's path/to/forms/Forms/Views/Form/Draft.cshtml), Line 58, delete 

class="cf-formwrap"

That is to say, change Line 58

<div id="draft-confirm-box" class="cf-formwrap">

to

<div id="draft-confirm-box">

 

This will prevent the Thank you message after "Save as Draft" from inheriting the background image set from the form body. Hope this works.

0 0
replied on August 31, 2016

Awesome, thanks again Ming, worked perfectly. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.