Text Blocks in SharePoint 2013 Surveys

I am trying to include some text blocks on a SharePoint 2013 Survey.  It would seem that there would be some functionality that allows for this, but there is not.  Is there a way around this?  I need to include some titles and directions at the beginning of the survey, and some informational text throughout the survey.
mjs082969Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kukdaiCommented:
The only way i can think of is using Jquery. Surveys has different files like newform.aspx or display.aspx.
First build your surver then open the survey page in browser
Now using developer tools or f12 point tot he locations where you want your text blocks or data has to be written.
let' say this is the id of the span "ctl00_PlaceHolderMain_wikiPageNameEdit" we want our text to be written above this.

Now make note of all the ids of all the elements that you would like this.

Next step go to sharepoint designer  browse to your survey and from the forms folder pick the page, it has to be one of the page like editform.aspx, displayform.aspx or newform.aspx.
Edit that file in advanced mode
add a script block

<script>
$( "#ctl00_PlaceHolderMain_wikiPageNameEdit" ).prepend( "<b>My text block </b>" );

$( "#anotherid" ).append( "<div class=extradata>My text block </div>" );

</script>

Open in new window


save the page and test it. Try adding it with a div or any another element with an id or class that will help you to style it if needed in future.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Keyboard CowboyCommented:
SP Surveys are very limited in their customization and in general, not very useful -  you're better off using survey monkey if that can apply to your situation.
Keyboard CowboyCommented:
Question answered.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.