Regular expressions allow text strings such as names, addresses, phone numbers, and other user information to be validated. Regular Expressions can be used to constrain input and check lengths. PrintShop Mail Web allows the designer to enter a custom expression or to pick one from the expression library. For more information about this subject refer to the Regular Expressions chapter.
This field type has the following parameters:
Required: Marks the field as a required, the user needs to enter data in order to proceed.
Separator Line: Controls whether a separator line will be shown before this field. With this option web forms that have more complex variable data can be arranged more logically.
Field Width: The width of the field in the web form. The minimum width of the data entry field is 1 pixel, the maximum width is 2048 pixels. By default the value is set to 300 pixels.
Field Height: The height of the field in the web form. The minimum height of the input field is 1 line and the maximum height is 255 lines. By default the value is set to 1 line.
Max. Input Characters: Defines the maximum number of characters that the user may enter. The number of characters is unlimited. By default the value is set to 256 characters.
Regular Expression: Type or paste the expression in this field. Click the -icon to display the Regular Expression Library. This dialog shows a list of predefined expressions. Double click an expression to copy it to the Item Properties page. This action will also copy the description to the Description field.
Test Data: Enter a sample string in this field and hit the -icon to test the expression.
This field type has the following Default Value options:
Default Value: This pop-up-menu contains a list of items referring to company information and account details. The selected value defines the initial value for the field and it's retrieved automatically when creating new jobs. This is very useful for business cards, letterheads and other versioned documents as it will automatically populate the field with user specific information.
Custom Value: Enter an initial value for the field. If a value is entered this will overwrite the selected Default Value is ignored.
Enter three digits (0 through 9)
[0-9]{3}
Dutch postal code (e.g. 2718RP or 2718 RP)
Four digits where the first cannot be a 0.
An optional space
And two uppercase characters
[1-9]{1}[0-9]{3}\s?[A-Z]{2}