Hi everyone, I wanted to ask if it is possible to have my text show up as superscript (so for example to display 3 to the power of 3) in a text area/ text box?
You can use 3^3^
on a RichText component:
First off, thank you I didn’t know that, but I was wondering if there was a way via regex that I could replace, say if the user typed “3^3” into the textbox, with superscript text (as in displaying 3 to the power of 3)?
I don’t think you can do that with text boxes or text areas (I’m sure someone will shout if I’m wrong!).
I don’t know your use case, but you could accept their typing in a textbox and then transfer it to a richtextbox when they press enter, performing the replacement then.
Or, if you want that conversion in situ, then you could consider embedding an editor in your form. One example is :
and I think there are others if you search the forum.
I will add this comment to @david.wylie’s answer: Replacing letters with symbols - #5 by stefano.menci