Force Upper/Lower on open text

This will force an open text to either be upper or lower after the user has passed the script node
 
var text = f(‘q1‘).get()
    text = text.toUpperCase()
    f(‘q1‘).set(text);