Tag: SharePoint

Decimal number display error in custom lists!

I encountered a decimal number display error while creating a new DispForm.aspx in SharePoint Designer: numbers stored with a decimal comma were not displayed. The Discount field was meant to display a percentage, so entering 10% automatically converted it to 0,1. The problem is the Czech language environment (Czech language pack), which stores the value with a comma (0,1) rather than a decimal point (0.1), then cannot read it back. This occurred on SharePoint Services 3 SP2 with all current updates, so another workaround was needed.

SharePoint – changing a single-line text field’s width using CSS

When creating a custom NewForm.aspx or EditForm.aspx in SharePoint containing single-line text fields, you cannot normally change their width. It is fixed in the system CSS, which can be overridden by specifying the same style with the desired width. Insert the following into your NewForm.aspx or EditForm.aspx: