Ok I have the input text being passed with:

result1.text = line1.text;
Can someone tell me how to have result1 update when line1 is changed? Maybe with onChanged