6
Answers

How to allow only one instance of a form?

Drew Taylor

Drew Taylor

17y
5.6k
1

Hello,

I have a main form which displays information which the user can update by clicking an update button, this creates a form with text fields and a submit button which updates a text file when the user clicks the button.

However, the user can click the update button on the main form as many times as they want and it creates lots of the smaller form! Is there a way to allow the smaller form to be displayed while the main form is behind it, but only allow one instance of the form even if the user clicks the button again?

Answers (6)