Workflow and ServiceDesk Community

 View Only

DatePicker 

Jun 13, 2012 10:18 AM

DatePicker

Component definition

This component lets users select a date from a pop-up calendar. The date is then stored in the text box, ready for submission through the Web form.

When you place this component on the form, a dialog box opens which displays the minimum required options. You must first enter the Output Name, which is the date variable. You can then choose which output paths are required or optional for this component. At least one output path must be required for this component.

After you click OK, you can view other available options when you double-click this component.

This component is available in a Forms Project when you use a form component that uses the Web Form Editor.

Component icon

calendar_preferences.png

Description of component output paths

The component output paths are described in the following table:

Property

Description

Unknown

Unknown

Unknown

Unknown

Description of component tabs and their properties

The properties on the Functionality tab in the DatePicker component are listed and described in the following table:

Section

Property

Description

Data

Output Paths

Lets you select how you want each output path on the Web form to use this component.

Output Paths options:

  • Required\

    This component is required for this output path.

  • Optional

    This component is optional for this output path.

  • Ignored

    This component is ignored for this output path.

 

Output Data

Lets you select a variable from within your Project to hold the output data.

If you do not have a variable already declared, enter the name that you want for the variable. A variable of this name is created when the Project is created.

 

Start Today

Lets you select to display the computer's current date as the start date for the calendar.

 

Date

Lets you provide the start date for your calendar.

The start date that you specify dictates which month and day the calendar displays.

 

Post Form On Value Change

Lets you select to post the value in this textbox to the Output Data variable as soon as a user clicks out of this component.

If Post Form On Value Change is unchecked, as soon as a user clicks out of this component, the value in this textbox is placed in a temporary variable. When the user takes a path out of the form, the value from the temporary variable is placed in the Output Data variable.

Behavior

Custom Events

A list of customized events to which you want this component to respond.

To add an event handler, click Add and select the event name. In the Edit Object dialog box, select the event handler and the behavior configuration for the event handler.

 

Specify Control ID

Lets you specify your own control ID.

If this option is not selected, an automatically created control ID is specified for this component.

 

Control ID

Lets you enter a unique identifier for this component that identifies this component to the Web browser.

 

Tab Index

Lets you enter the tab order for this component on the page.

When a user presses the tab key, the curser moves to the component with the next, consecutive numbered Tab Index on the form.

 

Tab Stop

Let you use this component as a tab stop.

If Tab Stop is unchecked, a user cannot get to this component by using the tab key.

 

Tool Tip

Lets you enter a tool tip for this component.

Tool tips are displayed when the user hovers the cursor over the component.

 

Visible

Lets you select whether you want this textbox to be visible.

Lets you use a variable for this component. Your workflow can change the variable so that this component only appears on the form in certain instances; for example, only on Tuesday.

 

Required Error Message

Lets you display an error message if you set this component to Required but the user did not select a value.

"Required" means that it is necessary for the successful completion of your form.

 

Use Custom Validation

Lets you select to use a custom validation system for this component.

A custom validation lets you check whether a user's input is valid. For example, you may want to check to see if the user provided a valid address.

 

Custom Validation Model

Lets you create a validation model.

Validation models are sets of components, arranged in a logical line which checks if the user's input is valid.

The model works by saving the user's entry in a variable called CustomValidationInput. This variable can be used elsewhere in your Project by selecting it under the OptionalData classification in the Select Variable window.

In this model, Symantec recommends that you use the form data variables. These variables only exist in the form.

The properties on the Appearance tab in the DatePicker component are listed and described in the following table:

Property

Description

Component Size

Lest you specify the size you want for the component.

You can also adjust the component size when you click on it and drag on the box.

Drop Down Image

Lets you select the image to display behind the calendar.

Overflow Behavior

Lets you select the behavior if a user types text that is wider than the component.

Overflow Behavior options:

  • Overflow

    The component expands as the user types

  • Clip

    Does not show the words that go past the edge of the component.

  • Scroll

    Places a scroll bar on the component, which lets the user scroll to see all the text.

The properties on the Configuration tab in the DatePicker component are listed and described in the following table:

Property

Description

Min Date

Lest you specify a minimum date for the component configuration.

Max Date

Lets you specify a maximum date for the component configuration.

The properties on the Settings tab in the DatePicker component are listed and described in the following table:

Property

Description

Component Class Name

The class name of this component. This property is not editable, but useful if you call Symantec support.

Description

The description of this component. This property lets you describe how the component is used. You can use it to provide any wanted documentation for this component.

This description is included in the model reports that are created when you click Plugins > Generate Business Model.

Location

The physical location of the top left point of this component on the workflow model.

Name

The name of this component. You can change the name.

If you changed the component name when you double-clicked it on the workflow model, the changed name appears here.

To Do

This property lets you record what you still need to do with the component. Use this property to help you remember the configuration that you want to apply to this component.

The text that you enter for this property appears at the bottom of the component editor. If you enter text for this property, a checklist symbol appears on the component in the workflow model.

Connection information

[If this component connects to a process or product outside Workflow, insert the definition of the connection string and/or authentication requirements to make that connection.]

Component settings

[Describe any setting options that change the way this component behaves.]

Use cases

[Name each use case that you include below.]

Example use case 1

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case.]

Example use case 2

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case.]

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.