Hi,
I have found a script to add bullets on pressing Enter key in a multiline text box
But the scripts outputs as:
**** Some text
***Some Text
**Some Text
* Some Text
So this script adds one more bullet to every new line, thus if there are 10 lines then it will show 10 bullets.
Please help me resolve it such that every new line creates only 1 bullet.
I also found another way :
this.rawValue = "*" + "" + this.rawValue + "\r";
But this method does not create a new line and adds "*" on a single line everytime I press enter.
The third way to do this by using the change event :
if (xfa.event.change == "\u000A") {
xfa.event.change = "\u000A" + " • ";
}
It also did not work for me.