Quantcast
Channel: Adobe Community: Message List - Adobe Captivate
Viewing all articles
Browse latest Browse all 80145

Removing spaces from text from text entry box

$
0
0

I need help setting up an interaction that takes the text that users enter into a text entry box on slide 1, removes any spaces from the text, and then displays the resulting text in a caption on slide 2. For example, on slide 1, the user types "Some random text" and then presses Enter.When you get to slide 2, "Somerandomtext" appears in a caption. 

 

Is there a way to have Captivate run a string processing script, for example, varTextEntryBox1.replace(/ /g,""); and have the result show up on the second slide?

 

I would appreciate any help. Thanks!

 

Chris


Viewing all articles
Browse latest Browse all 80145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>