Modify the text box width in open end questions

Compatibility:IdSurvey 5IdSurvey 6

This script allows to modify the width of a text box in a simple open end question.
In this sample javascript, the width is set to 400px. To edit this preset value, replace “400” with your preferred value.

Instructions

Paste the script in the Client script box that you find in the gearwheel button of the page containing the question.

<style>
      input{
        width:400px !important;
        margin-top: 10px !important;
      }
  </style>

 

Reduce_Text_Box

If the “text area” option is enabled in the open end question, the script will be slightly different (the differences between the two scripts are written in green):

<style>
      textarea{
        width:400px !important;
        margin-top: 10px !important;
      }
  </style>

 

Leave A Comment?