Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 636215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:29:27+00:00 2026-05-13T20:29:27+00:00

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

  • 0

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?

Ta,

Ben

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:29:27+00:00Added an answer on May 13, 2026 at 8:29 pm

    I had a similar requirement once. There is no starightforward way for doing this. But here is a work around which I used.

    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

    <script> 
    var tables
    
    tables = (document.getElementById('ctl00_m_g_c7647c31_a9f9_4f27_aa53_e0728c485b2c_ctl00_ctl01_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField').offsetParent).offsetParent;
    
    var i
    var str
    for(i=0;i<tables.rows.length;i++)
    {
    str = tables.rows[i].cells[0].innerHTML;
    str = str.substring(0,7)
    //alert(str);
    if(str == 'Comment')
    {
    tables.rows[i].cells[0].innerHTML = '<table width=400px border=0><tr><td><font color=blue size=3></font></td></tr></table>';
    
    }
    }
    
    </script>
    

    In the above code ctl00_m_g_c7647c31_a9f9_4f27_aa53_e0728c485b2c_ctl00_ctl01_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField is the ID of the Comment textbox control (You can get it by viewing source)

    We get the container of this control (table) and then hide the question. Hope this helps. Let me know if you need more help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When doing small icons, header graphics and the like for websites, is it better
I doing a function in Javascript like the VisualBasic DateDiff. You give two dates
I have a survey, where you have to click through several pages with questions.
Doing odd/even styling with jQuery is pretty easy: $(function() { $(.oddeven tbody tr:odd).addClass(odd); $(.oddeven
When doing an INSERT with a lot of data, ie: INSERT INTO table (mediumtext_field)
When doing case-insensitive comparisons, is it more efficient to convert the string to upper
When doing TDD , how to tell that's enough tests for this class /
When doing a cvs update , you get a nice summary of the state
When doing a simple performance measurement, I was astonished to see that calling String.IndexOf(char)
When doing thread synchronization in C# should I also lock an object when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.