• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Working with Conditional Scri... > Controlling Scripts with User Input

Controlling Scripts with User Input

You can use the Show Message script step to prompt a user entry to control a script. The Message text will display text in a dialog box.

Using the Print Invoice script, we can add a step that checks whether there is an Invoice Date and, if there is, asks you if you want to print the invoice anyway. This will prevent unintentional duplicate invoices. You can include If steps within other If steps (nested Ifs). Just as steps in an If are run only when the preceding If is true, a nested If is evaluated only when the first If is true.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint