Sharepoint Survey: Can I add a comment box to a question?

Recently, there was an interesting question in stackoverflow

I am doing a survey in SharePoint, using the built in survey tool.

I want to add a comment box next to my “ratings” questions. e.g.

Q1. Do you like fish?

  1. Not at all
  2. They’re alright
  3. I love fish!

Comment:

How can I do this all within one question? I can obviously add a new text question, but this will become Q2, and I want it to be part of the same question.

Any idea how I can do this?

By default SharePoint does not give us this option. So how can you do this? Here is a work around.

  1. Add a Question, with Text box, below the question under which you need this comment box.
  2. Edit the Newform.aspx page and insert a content editor webpart in the below of existing survey webpart.
  3. Copy and paste the below code in the content editor webpart

[sourcecode language='javascript']

[/sourcecode]

In the above code ctl00_m_g_c7647c31_a9f9_4f27_aa53_e0728c485b2c_ctl00_ctl01_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField is the ID fo the Comment Textbox control. (You can get it by Viewing the Source code of the page).

All we do is get the container of the Textbox control and hide it. Here is the screenshot of a sample survey

About Hojo Clement

Hojo Clement was working in US Technology in Trivandrum as a Senior Software Engineer. He has 6 years experience in working with Web Development Technologies inlcuding MOSS and ASP.net.

90 thoughts on “Sharepoint Survey: Can I add a comment box to a question?

  1. I need to create a survey in sharepoint 2010.for a single question i need more than one answer type.for example i have a question

    q1) who is tall?

    a)raja
    b)gopal
    c)rajkumar

    Now i need to add another text box below this with an description “Others” to enter an Answer other that of those options listed above.

    can u give me the solution.

  2. Today, I went to the beach front with my children. I found a sea shell and gave it to my 4 year old daughter
    and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed.
    There was a hermit crab inside and it pinched her ear. She
    never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  3. Definitely believe that which you stated. Your favorite reason appeared
    to be on the internet the easiest thing to be aware of.

    I say to you, I definitely get annoyed while people consider worries that they plainly don’t know about.

    You managed to hit the nail upon the top and
    also defined out the whole thing without having side-effects , people can take a signal.

    Will probably be back to get more. Thanks

  4. I’m not sure where you’re getting your info, however
    good topic. I must spend a while learning more or
    working out more. Thanks for fantastic info I used to be looking for
    this info for my mission.

  5. I don’t know if it’s just me or if perhaps everybody else encountering problems with your website.
    It appears like some of the written text in your posts are running off the screen. Can somebody else please provide feedback and
    let me know if this is happening to them too? This may be a problem with my web browser because I’ve had this happen previously.
    Many thanks

  6. Magnificent goods from you, man. I’ve understand your stuff previous to and you’re just extremely fantastic.

    I actually like what you’ve acquired here, certainly like what you’re
    stating and the way in which you say it. You make it enjoyable and you still take care of
    to keep it wise. I can not wait to read much more from you.
    This is actually a wonderful site.

  7. Helklo There. I found your blog usng msn. This is a really wesll written article.
    I will be sure to bookmark it aand return to read more of your useful info.
    Thanks for the post. I will definitely return.

  8. Hey! This is my first vusit to your blog!

    We are a team of volunteers and starting
    a new project in a community in thee same niche. Your blog provided us valuable
    information to work on. You have done a wonderful job!

  9. Au plus vite, l’entreprise Help-Plombier sur l’agglomération, se souciera
    de prendre en considération votre problème
    d’aménagement et vous conseillera une approximation sans promesse de commande.

    L’échange de branchements ou la décoration de lieux d’hygiène corporelle sera installé superbement avec une stricte
    compétence de plombiers.

  10. Good post. I learn something totally new and challenging
    on blogs I stumbleupon every day. It will always be exciting to read through content from other writers and use something
    from other web sites.

  11. Thanks for the auspicious writeup. It in truth was once a enjoyment account it.
    Look advanced to more introduced agreeable from you!
    However, how can we keep up a correspondence?

  12. I used to bbe suggested this web site by means of my cousin. I
    am not sure whether or not this post is written by means
    of him as nobody else recognize such targeted about my trouble.
    You’re wonderful! Thanks!

  13. This is very attention-grabbing, You’re an excessively professional
    blogger. I’ve joined your feed and look forward to in search
    of extra of your fantastic post. Additionally, I’ve shared your site in my social networks

  14. Thanks for one’s marvelous posting! I quite enjoyed reading it, you
    happen to be a great author. I will always bookmark your blog and definitely will come back
    at some point. I want to encourage you to ultimately continue your great work,
    have a nice morning!

  15. Her bedroom walls ring with the melancholic lyrics “Conceal, don’t feel.

    Thomas Edison, the inventor of the electric bulb, is often quoted regarding failure:.
    The deep study of these Islands is done by Scientists
    and biologists.

  16. Thanks a bunch for sharing this with all folks you really recognise what you’re speaking approximately!
    Bookmarked. Please also talk over with my site =).
    We will have a hyperlink trade agreement between us

  17. I like the helpful info you provide forr your articles.
    I will bookomark your weblog and test once more right hdre regularly.
    I am quite certain I’ll be infprmed many neww stuff right here!
    Good luck for the following!

  18. Forest: Moss, tree-branch huppah poles, pinecone place cards.
    It is a beautifully decorated document which consists of the promises
    that groom makes for the bride. They were still able to
    celebrate without compromising their passion for
    Dance Parties – and there was the bonus of no sandflies.

  19. Pretty section of content. I just stumbled upon your
    site and in accession capital to assert that I acquire in fact enjoyed account your blog posts.
    Any way I’ll be subscribing to your augment and
    even I achievement you access consistently fast.

  20. This may sound like a lot of information, but
    it is usually readily available to someone about to initiate a work task.
    Advertising takes a certain amount of knowledge and definitely
    consistency. Diesel fuel has a high flash point making storage
    aboard a boat very safe.

  21. Castlegate Financial Administration is a well established independent financial advisory business that has achieved chartered standing.
    Our capabilities and fervour for the best quality service mean you possibly can get pleasure from the
    perfect of both worlds ‘ dedicated private service and tailored wealth solutions.
    No matter your financial necessities, be they corporate or personal affairs, Castlegate Monetary
    Administration provide fully independent advice from our workforce of skilled
    advisers.

  22. Have you ever considered writing an ebook or guest authoring on other blogs?
    I have a blog based upon on the same subjects you discuss and would really like to have
    you share some stories/information. I know my viewers would value your work.
    If you are even remotely interested, feel free to
    send me an email.

  23. I didn’t figure that in when I first thought the commission was low.

    Just for an illustration, right here is what you require to make a
    $1000 commission:A Sampler Multi Pack charge $105,
    your commission will be 20% at $21. Another great thing about
    these warmers are they only warm the scent into the air and nothing else.

  24. Greetings I am so delighted I found your blog, I
    really found you by error, while I was looking on Digg for something else, Regardless I am here now and would just like
    to say thank you for a tremendous post and a all round entertaining blog (I also love the theme/design), I don’t have time to
    look over it all at the moment but I have book-marked
    it and also added your RSS feeds, so when I have time I will be back
    to read more, Please do keep up the fantastic job.

    my blog free

  25. Pretty great post. I just stumbled upon your blog and
    wished to mention that I have really loved browsing your blog posts.
    After all I will be subscribing on your rss feed and I am hoping you
    write again soon!

  26. So verrissen spielen auch dargestellt wird, so ist
    experimentell erwiesen, dass das Daddeln, ein dem Alter des Spielers angemessenes Spiel vorausgesetzt, förderlich für den Geist ist.
    Beim Zocken lernt der Gamer in erhöhter Frequenz Entscheidungen zu fällen und seine
    Aktionen zu priorisieren. Die meisten Videospiele vermitteln überdies auch
    Basics über Management und fördern die kognitiven Fähigkeiten des Spielenden.
    Sogar die verrissenen Multiplayer Games können doch in einigen Fällen den falsch vermittelten Effekt des Abdriftens in eine falsche Realität}
    umkehren. Der Spielende kann zwar schon einigen wenigen Freaks begegnen, doch findet der Spieler häufig genau in seinem Lieblingsspiel
    Gleichgesinnte.
    Summa summarum: das Zocken ist der Hammer!
    Ungeachtet des Games und ob PC,Konsole,Handy,etc.
    , Zocken ist ein Kulturgut.

  27. Pretty nice post. I just stumbled upon your blog and wished to
    say that I have truly enjoyed browsing your blog posts.

    After all I’ll be subscribing to your rss feed and I hope you write again very soon!

  28. Let me teach you how to do this effectively with a few special tricks.

    This way, it will be possible for you to attract new customers and retain your existing ones.
    Entry forms and additional information may be found here: 2015 Healthy
    Air Living calendar.

  29. For customers, Microsoft is encouraging feedback about device compatibility with the Windows 7 RC through the Windows Vista Compatibility Center feedback page, on the ‘Report a compatibility issue’ tab.
    It’s cousin, Microsoft Works, is also not half bad.
    ^ “ISO 32000-1:2008 – Document management – Portable document format – Part 1: PDF 1.

  30. Either way, the slump was rectified and both parties were happy.
    Leonard Weaver – The guy had 19 touches last night for 70
    yards. If Kevin Kolb is the opening day starter next season, he may
    have more pressure on him than any other quarterback in the league.

  31. Richard to Groopman: We understand, it certainly
    doesn’t matter scientifically in case it is the cancer and
    not the chemo. A head gasket failure results in a leak, which in turn produces white
    smoke. Smoke coming from the tailpipe displays in one of three colors: blue, white, or black.

  32. I used to be recommended this blog by means of my
    cousin. I am now not positive whether this put up
    is written through him as nobody else understand such unique about my trouble.
    You’re incredible! Thank you!

  33. I don’t even know how I ended up here, but I thought
    this post was great. I don’t know who you are but certainly you are going to
    a famous blogger if you are not already ;) Cheers!

  34. I don’t know whether it’s just me or if everyone else experiencing problems with your site.
    It appears like some of the text on your content are
    running off the screen. Can someone else please provide feedback and let me know if this is happening to
    them as well? This may be a issue with my internet browser because I’ve
    had this happen previously. Thanks

  35. Magnificent beat ! I wish to apprentice whilst you amend your
    website, how could i subscribe for a weblog site? The account aided me a applicable
    deal. I had been tiny bit acquainted of this your broadcast provided brilliant transparent concept

  36. I’m truly enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more pleasant for me
    to come here and visit more often. Did you hire out a developer to create your theme?
    Superb work!

  37. Nice post. I was checking constantly this blog and I am impressed!

    Extremely helpful information specifically the ultimate phase :) I deal with
    such information much. I used to be lookung for this particular information for a very long time.
    Thanks and good luck.

    Here is my blopg post :: acai berries

  38. Make sure gas is turned on; with propane, make sure the tank has fuel.
    One way they have found is by choosing to purchase a low octane fuel rather
    than the mid-grade or premium option. LNG has the same benefits as CNG, but LNG enables
    a longer driving range, which may be a better choice for semi-trailers, tankers, training
    and seminars (vimeo.com) other very large vessels.

  39. Greate article. Keep writing such kind of info on your page.

    Im really impressed by it.
    Hi there, You’ve done a great job. I’ll definitely digg it and in my view
    recommend to my friends. I am confident they will be benefited
    from this web site.

  40. Hello there! I could have sworn I’ve been to this website before but after reading through
    some of the post I realized it’s new to me.
    Anyhow, I’m definitely delighted I found it and I’ll be bookmarking and checking back
    frequently!

  41. Woah! I’m really digging the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s tough to get
    that “perfect balance” between usability and appearance.
    I must say you’ve done a very good job with this. In addition, the
    blog loads super quick for me on Safari. Superb Blog!

  42. Do you have a spam issue on this blog; I also am a blogger, and
    I was wondering your situation; many of us have created some nice methods and we are looking to trade strategies with others, please
    shoot me an email if interested.

  43. Cancun has got several golf clubs with scenic locations that are regarded as a
    few of the best courses in Mexico. In many instances, family can be located inside the
    U.S. making use of affordable professional services like U.S.
    Google or different will mean. The will be a powerful contributing factor to standards inside the area.

    My blog :: best honeymoon vacation

  44. Hello! I could have sworn I’ve been to this website before but after checking through some of the post I realized it’s new to me.
    Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back often!

  45. Other advantage that you could get if you choose this penis pump
    is that you may possibly save your price range since this penis pump is accessible in extremely reasonably
    priced cost. With so numerous rewards, this penis pump is absolutely the
    greatest penis pump that you could uncover on the industry these days.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>