I trying to get only text entered by user but getting tag also how to get only text not tag?
r
Rajat Parashar
07/06/2022, 12:30 PM
It seems that field is RichText or textarea or HTML??
Rajat Parashar
07/06/2022, 12:31 PM
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