Ask a Question

User Forms Reset Button

BMD
Contributor

User Forms Reset Button

Team,

I have a user form that has 8 to 10 input fields.  I have them prefilled with 'my' default values.  

My questions is - is there a way to 'reset' or 'clear' the default values on the user form and allow the script to continue after the tester clicks the 'reset/clear' button and enters the new values.  I have the 'mrOK' labeled as continue as that is what happens but I would like a 'reset/clear' button to remove the default values from the user form.

Any Pointers,

Thank You, BMD

 

1 REPLY 1
Marsha_R
Community Hero

I see a way to reset it to the original values, but not a way to clear it automatically.

https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/user-forms/userform/...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: