Hello,
I have a 2 screen application ! Simple. In window 1, there is a form, when you submit it, it goes to win2 like that :
[OnClick] var result = Ti.UI.createWindow({ title : "Result", url : "result.js", name1 : name1.value, name2 : name2.value, win1 : win1, percent : percent }); result.open(); win1.close();On the other window, I have another window, and a button to go back to the initial form.
I do it like that :
button.addEventListener('click', function() { win1.open(); win2.close(); });It is working, but the form is not empty, and I don't know how to clean it. It should happen from win2 before closing, but I don't know how to reach TextFields from another window, or triggering something like onResume, or onOpen callback method in win1
Do you know how should I do it???