Changing the associated variable of a custom progress bar

You can change the variable associated with a custom progress bar. The variable will be used to store the current progress of the custom progress bar. Variables are logical objects within a project that enable you to store, modify, and test values of numbers or strings during the runtime of a published project. For more information about using variables within project, see Working with variables.

You can also change the initial value and specify whether to retain the value representing the current progress of the progress bar after the session is closed. If the user returns to the page with the progress bar in a future session, the value from the previous session will be loaded into the progress bar. If this option is not selected, the progress bar object will be loaded with its initial value for each new session.

Variable name conflicts might exist if you are attempting to insert or paste objects from another project or a library object that might contain several associated variables. If conflicts are encountered, you will be prompted whether to automatically create new variables before adding them to the project, automatically use the existing variables, or view the conflicting names and individually select the new variable names. For more information, see Resolving variable name conflicts.

To change the associated variable name of a custom progress bar:

  1. Do one of the following:

    The Properties ribbon is displayed.

  2. Use the Variable Name field in the Type group to select the associated variable name. The variable will be used to store the current progress of the custom progress bar. The variable can be accessed from anywhere in the project. Select a currently defined variable, select New Variable to create a new variable, or select No Variable to remove the variable association.

    The name/value pair submitted from the published project using email, a CGI script, or Google Drive is the progress bar's associated variable name and its value.

  3. If necessary, select to change the initial value.

  4. Enable Retain Value to retain information for the progress bar between sessions.

See also: Changing the type of progress bar

Knowledge Base | Training | Support
© Copyright ELB Learning 2023