Text entry form: re-sizing text fields? | XM Community
Skip to main content
Is there a way to reliably re-size text entry form fields, either through the survey builder or custom Javascript?



I've tried dragging the bozes to the correct size in the survey editor, but the changes aren't reflected in the 'live' survey, and the fields reset to the default 'small' size whenever I load the project.



For clarity, here's how it looks in the editor:

!





And here's how it shows up in the survey:

!
Try:

```

jQuery("#"+this.questionId+" .InputText").css("width","100%");

```

Set it to less than 100% if you want the text boxes to take up less than the available space.

Leave a Reply