How to prefill serial number field with default value?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • newengland
    Indigo Rose Customer
    • Sep 2005
    • 16

    How to prefill serial number field with default value?

    Hi,

    If a user has already installed our software, I am able to read the serial number value from the registry using an action.

    However, I am having trouble loading this value as the "default text" property so it pre-fills the serial number field (as a convenience so they do not have to re-enter it)

    Can someone help? Thanks!
  • jassing
    Indigo Rose Customer
    • Jan 2001
    • 3124

    #2
    Have you used sessionvar.set() to set %SerialNumber% to the value you read from the registry?

    Comment

    • newengland
      Indigo Rose Customer
      • Sep 2005
      • 16

      #3
      the solution

      this Action worked for me:

      DlgEditField.SetProperties(CTRL_EDIT_03, {Text = serialnumberinregistry});

      Set this On PreLoad Action for the serial number screen. CTRL_EDIT_03 is the name of the field where the user enters their serial #

      Comment

      Working...
      X