I trying to get only text entered by user but gett...
# suitescript
t
I trying to get only text entered by user but getting tag also how to get only text not tag?
r
It seems that field is RichText or textarea or HTML??
Then there are two options either use DOM element and then get the data via el.textContent or you have to trim HTML your self. You will find the regex online to trim HTML tags