Form Services 2010 - potential bug in plain text - multi-line boxes - InfoPath Dev
in

InfoPath Dev

Form Services 2010 - potential bug in plain text - multi-line boxes

Last post 05-10-2011 04:30 AM by ghamson. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-18-2010 05:01 AM

    • ghamson
    • Not Ranked
    • Joined on 10-18-2010
    • London
    • Posts 2

    Form Services 2010 - potential bug in plain text - multi-line boxes

    Hi,

    Just wondering if anyone else has found the following and perhaps a resolution.  (Blog post with image examples here: Click)

    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 22<sup>nd</sup> character and adds 1 to the “rows” attribute of the <textarea> element.

    For example:

    123456789012345678901 – Textarea row = 1

    1234567890123456789012 – Textarea row = 2

    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.

    Giles Hamson MCTS, MCITP SharePoint 2010 | Blog: http://ghamson.wordpress.com | Twitter: @ghamson
  • 10-25-2010 12:20 AM In reply to

    Re: Form Services 2010 - potential bug in plain text - multi-line boxes

    Thanks for posting the bug report. We haven't seen this so we don't know of a workaround. Good luck and let us know if you figure it out.

    Patrick Halstead
    Project Manager at Qdabra
  • 05-10-2011 04:30 AM In reply to

    • ghamson
    • Not Ranked
    • Joined on 10-18-2010
    • London
    • Posts 2

    Re: Form Services 2010 - potential bug in plain text - multi-line boxes

    Just to let everyone know, we submitted this to Microsoft and the hotfix is now released as part of the SharePoint 2010 April 2011 CU - http://support.microsoft.com/kb/2516485
    Giles Hamson MCTS, MCITP SharePoint 2010 | Blog: http://ghamson.wordpress.com | Twitter: @ghamson
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.