Community

Prompt for batch registration parameter on batch creation

I want to have a scanning operator prompted to select a value from a list when a batch is created. I can setup a batch registration parameter with a list of values to select from but it just takes the first value if the operator doesn't change it.

I really want to make sure that the operator has to select one of the values as there is no sensible default.

I see that I can run a script on batch creation but have no idea how I would popup a dialog or form from the script.

Any suggestions how I might be able to do this?

thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

2 comments

  • Avatar
    Ivy
    I want to have a scanning operator prompted to select a value from a list when a batch is created. I can setup a batch registration parameter with a list of values to select from but it just takes the first value if the operator doesn't change it. I really want to make sure that the operator has to select one of the values as there is no sensible default. I see that I can run a script on batch creation but have no idea how I would popup a dialog or form from the script. Any suggestions how I might be able to do this? thanks


    I guess you accidentally set some default value for this parameter. Go to the batch parameters tab in the batch type. You will see what the settings for the registration parameter are. They are Required, Read Only, Value. Set empty value
    0
  • Avatar
    Brian R Wallis
    Thanks, setting the value to empty worked.

    I also found that I can use MsgBox() or InputBox() from vbscript or Popup() from jscript to interact with the user at various points depending on which event the script is attached to.
    0

Please sign in to leave a comment.