0
Answered
Text Reset in IQAN Script
Aurelio Romano 8 years ago
in IQANscript
•
updated by Ulrik Zakariasson (Software development) 8 years ago •
2
Is there a work around in IQAN Script, to reset Text Input fields?
I have a loop and each time it loops through it would be nice to be able to reset text field’s so they get a fresh field to input into.
Customer support service by UserEcho
The input field is initialized with the default value only the first time it is executed. The reason for this is to be able to go back in the script using the back button and keep the value. But as you have noticed the effect will also be that the value is kept when using a loop.
There is one way that the value could be cleared, but it will clear the value of all script actions. By using the script action "Clear script state" in the beginning of each loop everything will be reset. Depending on the script this may be acceptable or not.