Pergapedia / SSP7
SMTX SupportSMTX Wiki
  • Introduction
  • Pergapedia / SSP7 Admin guide
  • Catalog
    • Typical use cases
      • Usage as Knowledge Catalog
      • Usage as Data Catalog
      • Usage as Service Catalog
    • Catalog Maintenance
      • Templates
        • Create a new template
        • Version management of templates
        • ACL (Access Control Lists)
          • Scopes
          • Add default ACLs
          • Remove All ACLS
          • ACL condition script examples
        • Set translation label for Publication request button
      • Parts (Fields)
        • Field types
        • Calculations
        • Field Validation examples
        • Field Visibility Examples
        • Field Filtering
        • Default value
      • Actors
      • Reusable content
      • Settings
      • General Settings
      • Roles
      • Javascript for Variables in processes
      • Action Forms
        • Add log entries for Action Forms
    • Service Maintenance
      • Services
        • Filter list of services
        • Duplicating services
        • Adding a new service
        • Service Details
          • General settings
          • Service Data
          • Contracts
          • Actors
          • Receivers
          • Targets
          • Support Groups
          • Relations
          • Requests
          • Quality Notes
          • Publication History
          • Documents
          • Log
          • Service Actions
        • Compare versions
        • Quality Notes
        • Service Changed flag
      • Approvals
      • Relations
        • Start service from service
      • Subscriptions
      • Outages
    • Public
    • Service Catalog API
      • Outbound REST API
        • Get Services
        • Get Service Details
      • Inbound SOAP calls
        • Create custom approval
        • Add log to service publish request
        • Add person to service person list
        • Add persongroup to service persongroup list
        • Delete service
        • Mark service publish request as in approval state
        • Process service publish request
        • Publish request set can be cancelled
        • Publish request set show in public
        • Remove person from service person list
        • Remove persongroup from service persongroup list
        • Remove support group from service
        • Update service field
        • Update service language field
        • Update template part datetime value
        • Update template part numeric value
        • Update template part text value
  • Fulfillment Platform
    • Admin Panel
    • General Settings
      • General
      • My Profile
      • Mail Settings
      • Login
      • Forms Setting
      • Workflow
      • Archive
      • Calendar Overview
      • Dashboard
      • Mobile Component
      • Ticketing
      • Webhooks
      • Goto
      • Search options
      • Application URL Settings
      • Address Book Settings
    • Dashboard
    • Categories
    • Topics
    • Forms
      • Fields-tab
      • Field: General Settings
      • Dynamic Value
      • Text (Area) Field
      • Yes : No Field
      • Upload file(s)
      • Date (Time) Field
      • Password Field
      • Read Only Display Field
      • Header
      • Tab
      • Section
      • Repeatable section buttons
      • Subform
      • Static HTML
      • Hidden Field
      • Selection Fields
      • Calculations
    • Processes
      • General Settings
      • Dynamic Field Mapping
      • Process Steps
      • Step Types
      • Logging
    • Datastore
      • Process interaction
      • Manage datastore entries via Webservices - Javascript
    • Tasks
    • Auto Forms
    • Adapters
      • Person Data
      • Web Services
    • Event triggers
    • Roles
    • Rolesets
    • Groups
    • Views
      • View Example 1
      • View example 2
    • Mail Templates
    • Layouts
    • Mail queue
    • Reporting
    • External Apps
    • My Items
    • Translations
    • Bulk Uploads
    • Help page
    • Goto
    • Search
    • Inbound Email
    • Reporting Dashboard
    • Ticketing
      • My Activities
      • Ticketing Views
      • External Integrations
    • Release Manager
    • Content Management Console module
    • SSP Studio
    • Persons & Accounts
    • Pools
  • Release Notes
    • Terms and Conditions
      • December 2024
    • Release 7.21.01
    • Release 7.21.03
    • Release 7.21.04
    • Release 7.21.05
    • Release 7.21.06
    • Release 7.21.07
    • Release 7.21.08
    • Release 7.21.09
    • Release 7.21.10
    • Release 7.21.11
    • Release 7.21.12
    • Release 7.22.02
    • Release 7.22.03
    • Release 7.22.04
    • Release 7.22.05
    • Release 7.22.06
    • Release 7.22.07
    • Release 7.22.08
    • Release 7.22.09
    • Release 7.22.10
    • Release 7.22.12
    • Release 7.23.01
    • Release 7.23.02
    • Release 7.23.03
    • Release 7.23.04
    • Release 7.23.05
    • Release 7.23.07
    • Release 7.23.08
    • Release 7.23.09
    • Release 7.23.10
    • Release 7.23.11
    • Release 7.23.12
    • Release 7.24.02
    • Release 7.24.03
    • Release 7.24.04
    • Release 7.24.05
    • Release 7.24.06
    • Release 7.24.07
    • Release 7.24.08
    • Release 7.24.09
    • Release 7.24.10
    • Release 7.24.11
    • Release 7.24.12
    • Release 7.25.01
    • Release 7.25.02
    • Release 7.25.03
    • Release 7.25.04
    • Release 7.25.05
  • Guides
    • Installation Guide
      • Scheduled Task installation
    • Upgrade Guide
    • LDAP Import
    • Training
      • Exercise : Create a new form
      • Exercise : Create a new Datastore Parameter
      • Exercise : Create a new Process
      • Exercise : Create a new Role
    • SubTopics in Topics
  • Pergapedia platform
Powered by GitBook
On this page

Was this helpful?

  1. Fulfillment Platform
  2. Forms

Dynamic Value

PreviousField: General SettingsNextText (Area) Field

Last updated 3 years ago

Was this helpful?

To give a field a default answer, multiple options are available. Also multiple default values are supported, which can be concatenated into 1 default answer. This can be configured under the section Translations: Label & Default answer & help text.

defautlvalues

Default answer : Select what kind of default answer should be displayed

  • Fixed Value: When this option is set, the field always contains the same default answer that is defined in free text

  • Person field : Select this option when user data should be used as default answer. can be edited in the Admin | Adapter menu.

  • Form field : Use this option when the default answer should be derived from another question. The first drop down list, shows all fields of the current form that show DataStore Parameters (selection fields). In the second drop down list, the column from the parameter can be selected. In the example below, the default answer is the Name of the Group chosen in the earlier question "Select Group":

  • Main/Sub-Form field: Use this option when the default answer is provided by another form than the current form. This may occur when are used.

  • Process Instance Variable: Use this option when a form is used in a process as an external form. The variable is listed as <variable name>(<process name>)

  • Repeatable section index : when using repeated sections, you might want to know the sequence number of that section. use this option to implement it in your form (for example to show the number of entries).

Calculation Fields

SSP allows to make basic calculations, using default values. If you want for example to sum up 2 values, entered previously in the form in 2 other Fields, you can make that using calculation fields. You can make complex calculations by using brackets.

To activate the calculation engine, first check the field : 'Dynamic value contains calculations':

The second checkbox allows to hide calculation errors for end user.

For example, if you want the sum of 2 fields that are in text fields:

As long as the 2 Fields are not filled in, the calculation can not be made. This will result in an error message on-screen:

When the option 'Hide calculation info from user' is checked, the errors will no longer appear.

Supported Operators and examples of calculation fields.

Supported operatorse: +, -, *, /

ToNumber('#REPLACE-FORMFIELD-Numbers example||number1||#',0) + #REPLACE-FORMFIELD-Numbers example||number 2||#

In this case, the first value is replaced by '0', as long as nothing is entered in the source field called 'number1'.

Examples:

•

Format('{0:F2}',#REPLACE-FORMFIELD-Numbers example||sum||#) -> result : 5.00

•

Format('{0:F5}',#REPLACE-FORMFIELD-Numbers example||sum||#) -> result : 5.0000

calcfield01
clip0408
calcfield02
clip0407

These operators have been extended and continue to. We refer to the WIki for more information & examples on Calculations in Forms:

To avoid issues, you can choose to replace an empty value by set value, as shown in this example: use : ToNumber('#field reference here#',0), Example:

You can also set the number of digits after the separator, using : Format('{0:Fx}, <<value here >> ), where Fx stands for the number of values behind the comma-separator.

http://wiki3.smt-x.com/index.php?title=FormTips
User variables
sub forms
alert_1818
alert_1818