Java Script help

Hi there does anyone know what the script should be so that every space in the username input is replaced with _
It might seem easy task but i have no knowledge of java.
Tank you in advance

Why don’t you use the REPLACE_ALL formula?

ex: newText = REPLACE_ALL(oldText, " ", “_”)

2 Likes

thank you for some reason it didnt work before but now its fine!