Width of Rich text field in the form

September 13th, 2006 | Categories: Free tools
I’m probably one of the biggest fans of SharePoint, because it enables me to do virtually anything with a bit of creativity. So you can expect some more of the SharePoint stuff here (by the way: I’m not a programmer, so don’t catch me on too technical details.)

One thing that was annoying me and some of our customers is that when entering info into rich text field it was simply too narrow. The width is for resolution 1024×768. That’s all fine and dandy, but if you like to type a lot the narrow field when entering information just won’t do.

To expand the field you have to open the NewForm.aspx and EditForm.aspx in FrontPage or SharePoint designer and just before the tag add the following code:

Ofcourse replace the FIELDNAME with actual name of the field and WIDTH with desired width in pixels.

For the FIELDNAME you have to use the SharePoint name, not the display name (sometimes they aren’t the same). You can find the SharePoint name of the field easily if you

  1. modify settings and columns of the list
  2. click on the name of the field in the “Columns” section
  3. check value of parameter Field in the URL (click on image below to see the screenshot)

Save the file and you’ll have the result. Click on the thumbnails below to see larger images.




There you have it. Not as nice to look at, but nicer to write in :).