How can I add "quotes" to set value event?

Benjamin Ruggeberg shared this question 2 years ago
Answered

I'm trying to add quotation marks around text after a user types something into a search box but no matter what I do they won't show up. In a text component I have tried to put a quotation mark ", a quotation mark surrounded by quotation marks """, and a quotation mark surrounded by single quotation marks '"'. Is there anyway to do this?


14de34ebbe2ec3a3bdfd371719fca920

Comments (1)

photo
1

Hi Benjamin,


Unfortunately it won't be possible to add quotes around an input using a set value event. What you could do is create two hidden text fields that contain quotes around the search box, then create an 'on focus out' event that marks the hidden quotes as shown.


Best,


Danielle