I want to toggle and interchange the text between two text boxes for example if i have the textbox1 text=hello and textbox2 text=world then i want that the interchange the values mean textbox1 text=world and textbox2 text=Hello.

I want to toggle and interchange the text between two text boxes for example if i have the textbox1 text=hello and textbox2 text=world then i want that the interchange the values mean textbox1 text=world and textbox2 text=Hello.
i suppose you would like to do it when a button is pressed or may be a different event.
Therefore:
On form - OnVisible: UpdateContext({text1:"Hello",text2:"World"})
On each textinput - Default: text1 and Default: text2
On button OnSelect: UpdateContext({text1:text2,text2:text1})
I've tested and it works fine. Of course we can place the command from OnSelect on a different controls'event.