PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/12/2015 1:40 AM by  David Williams
TextArea truncation on update
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Chuck Tumbleston
Private
Private
New Member
(1 points)
New Member
Posts:1


Send Message:

--
05/09/2011 12:47 PM
    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
    Private
    Private
    Veteran Member
    (887 points)
    Veteran Member
    Posts:309


    Send Message:

    --
    12/19/2014 7:30 AM
    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
    Private
    Private
    Veteran Member
    (887 points)
    Veteran Member
    Posts:309


    Send Message:

    --
    12/23/2014 5:16 PM
    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
    Private
    Private
    (9 points)
    Posts:3


    Send Message:

    --
    03/11/2015 8:11 PM
    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
    Private
    Private
    Veteran Member
    (3064 points)
    Veteran Member
    Posts:1032


    Send Message:

    --
    03/12/2015 1:40 AM
    Option 3 - setFormValue - should be working.
    David Williams
    You are not authorized to post a reply.