Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    textarea problem

    hi everyone
    I have a dynamic form when I set length:256 for text fields, text field converted to text area and in IE (version 8) show sroll for it,
    I set style for text area {overflow: hidden}
    It works fine for IE but in firefox when I insert large text, I can't follow text that I am inserting
    I know that this is a bug in fore fox,
    anybody can suggest me a better solution?!!

    thanks
    Last edited by nazil; 21 Jun 2010, 21:58.

    #2
    Why do you need overflow:hidden?
    Note that it is recommended to set overflow via SC API, not via CSS.

    Comment


      #3
      thanks marpetr,
      I tried this code:

      Code:
      isc.DynamicForm.create({
        ID:"paymentDeviceInsertForm",
        autoDraw:false,
        action:"NewPaymentDeviceAction.action",
        fields:[
          {editorType:"text", name:"name", length:256, [B]overflow:"hidden"[/B]},
        ],
        formSaveData : function () {
           do sth
        }
      });
      but it does not worked!!!
      did I use overflow in right place?

      Comment


        #4
        I found a solution
        set
        longTextEditorThreshold:1030
        property for dynamicForm,
        then text fields didn't convert to textarea :)

        Comment

        Working...
        X