TextArea truncation on update

Sort:
You are not authorized to post a reply.
Author
Messages
Chuck Tumbleston
New Member
Posts: 1
New Member
    In Design Studio I'm using a TextArea in place of a Text box for a 'comment' field on data brought in from the application. If I edit that data within the textarea by changing a word or character within a line of comments, everything after the new word is truncated. If I change the control back to being a text box I don't have this error. Is this an issue with the TextArea control? Has anyone run into this and found a workaround?
    Ragu Raghavan
    Veteran Member
    Posts: 468
    Veteran Member
      Chuck, did you find a solution for this? I am on 9.01 Design Studio and have the same issue with textarea. Does not matter, if I check the values on On_Blur or on_BeforeTransaction, if the textarea has been edited with backspace or delete, the results are truncated. Thanks.

      Ragu
      Ragu Raghavan
      Veteran Member
      Posts: 468
      Veteran Member
        when I try var vCmt = lawForm.getFormValue("textarea1",0), it messes up .

        I changed it to
        var vObj = lawForm.getFormElement("textarea1",0);
        var vCmt = vObj.value

        Seems to work ok, regardless of backspace or delete or any special characters.

        AlexW
        Posts: 3
          I too am having problems populating textarea object. I have tried these three methods...to no avail.
          
          var vdata = "mytext";
          alert(vdata);
          lawForm.getFormElement("textarea1").value = vdata;
          lawForm.setElementValue("textarea1",vdata,0);
          lawForm.setFormValue("textarea1", vdata);
          


          None of the above methods has worked for me. Any help is appreciated!
          Alex-


          David Williams
          Veteran Member
          Posts: 1127
          Veteran Member
            Option 3 - setFormValue - should be working.
            David Williams
            You are not authorized to post a reply.