TextArea truncation on update

 4 Replies
 1 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Chuck Tumbleston
New Member Send Private Message
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 Send Private Message
Posts: 477
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 Send Private Message
Posts: 477
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
Send Private Message
Posts: 3
I too am having problems populating textarea object. I have tried these three methods...to no avail. [code] var vdata = "mytext"; alert(vdata); lawForm.getFormElement("textarea1").value = vdata; lawForm.setElementValue("textarea1",vdata,0); lawForm.setFormValue("textarea1", vdata); [/code] None of the above methods has worked for me. Any help is appreciated! Alex-
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
Option 3 - setFormValue - should be working.
David Williams