Question

About popup input

  • 15 September 2022
  • 5 replies
  • 50 views

Badge +7

hi team

i need to popup a dialog box when AA running to somewhere and stop here.

user can input something and click OK, program can accept the input char and

continue running.

how to implement the function? i just need a simple way!


5 replies

Userlevel 3
Badge +7

Hi @wang huadong​ ,

 

There is a Prompt Action which you can use to achieve this, or if you want to get a bit more fancy with it, try creating an Interactive Form with additional features.

 

Could you give that a try and let us know if it works out for you?

 

Kind Regards,

Ashwin A.K

Badge +7

hi Ashwin

i have tried to use Prompt to popup an input box, ye it can work fine

once more, if user does not input any char in the box, and click ok directly, may i give a warning message? such as "The box can not be empty!"

Userlevel 3
Badge +7

Hi @wang huadong​ ,

 

You can try adding the Prompt Action inside of a Loop: While Action and pass in a condition to validate whether the string returned is null or not.

 

image 

Kind Regards,

Ashwin A.K

Userlevel 5
Badge +9

Please let us know if Ashwin's great suggestion has helped you. If not, kindly reach out to your CSM/PEM to engage paid professional services.

Badge +7

yes, the suggestion is wonderful! thanks a lot

Reply