Archive
Posts Tagged ‘Bug’
Form Services / InfoPath 2010 Bug found in Multi-line Plain Text boxes
October 17, 2010
9 comments
Just a quick blog to let users know of an issue I have found during my current project involving InfoPath Form Services (This only occurs in the web and not in the client). I have logged this with Microsoft and am awaiting response / resolution.
I will update this post when I have closure of the issue.
Scenario:
An InfoPath Form created in Microsoft InfoPath Designer 2010 and is installed as an Administrator approved template.
- Form Control: Text Box
Display:
- Read-only – No
- Enable spelling checker – Yes
- Enable AutoComplete – Yes
- Multi-line – Yes
Size:
- Height: Auto
Compatibility Settings:
- Form Type: Web Browser Form (2010)
Issue:
- Browser: Internet Explorer 7, 8, Google Chrome
When running the Form in the web and a user types into the multi-line text box; after 20 characters the text box gets bigger by 1 row.
On evaluation using the IE8 development toolbar. It would appear that the control is rendered as a <textarea> HTML element and JavaScript runs on the 22nd character and adds 1 to the “rows” attribute of the <textarea> element.
For example:
123456789012345678901 – Textarea row = 1
- Image Before:
1234567890123456789012 – Textarea row = 2
- Image After:
This is regardless of the width of the Text Box (Multi-line) control on the InfoPath form.
- Browser: Firefox 3.6.10
A different issue occurs on the same control in the same scenario within Firefox.
When typing a paragraph until the end of the textbox size, the <textarea> element does not auto expand until the user presses return.
For example:
- Before:
- After:
Categories: Work
Bug, Form Services 2010, InfoPath 2010, SharePoint 2010