Check if user click the close button of input dialog

i have a dialog box that requests for a user selected input, while that variable that stores the selected input is null, the dialog box will keep prompting the user to select an option. With that will be no null values passed over. However, that means if the user clicks ok without selecting an option OR clicks the close button, the input dialog will repeat itself and continue to prompt and there is actually no way of exiting out? Is there a way to stop the process if the user clicked the close button of the dialog box and if user selected no options but click ok would then prompt the user to select again?

Hi @Martin_Pan

A simple loop will do, something like this:

This will repeat the Input Box as many times as the output value is different than Nothing :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.