Prompt fields

Applies to: IOS


Version 4.7 introduced the ability for an online customer to personalize their products with their own data.

These so called 'Prompt Fields' are defined in the Timestone Administrator and can be added to any portrait type product. When a customer adds the product to the cart, they are 'prompted' to enter their own text.

Prompt fields are separate to regular subject fields and never replace any data in subject fields. However they can be used in conjunction with subject fields meaning if a prompt field is left blank by a customer, the product will use subject field data instead. Conditional text support adds flexibility to prompt fields.

Since prompt fields are product based, the same product can be ordered with different data from order to order and even within the same order. For example a parent can order two Christmas products each with different greetings or messages while estranged parents can each order a product customized with their preferred data.

As the online customer enters their data, the product updates automatically to display their personalization - giving the customer a live preview of their finished product complete with custom data.

Key points

  • Define prompt fields in tsAdministrator
  • Prompt fields can be added to any pack layout, item or package template
  • Data entered into prompt fields does not replace subject field data
  • Prompt fields are product based meaning the same product can have different data each time it is added to the cart
  • Custom data is displayed instantly in the product giving a live preview of the finished product

Defining prompt fields

Prompt fields are defined in tsAdmin under the 'Prompt Fields' object.

Although they can be defined with respect to season, workspaces and accounts it is anticipated prompt fields will simply be defined at the root level (*.*.*)

It is recommended prompt fields are added globally with respect to season workspace and account. Define as many prompt fields as needed.

Defining prompt fields is simply a matter of giving each field a name (this will be called onto a template), prompting text (what message the customer will see prompted for data) and in what relative order the prompt fields will be displayed when multiple fields are added to a template.

The screen grab below shows seven prompt fields in tsAdmin. The fourth field, 'name', could well be used on many products while the other fields could be used on products such as Trader Cards. Note the name field has a position of 1 meaning it will be displayed first when multiple prompt fields are placed on a template.

Figure 1: Prompt fields in tsAdmin

Adding prompt fields to a template

Prompt fields are added to a template using a text box in the following manner:


Note the presence of the ? between the @ symbol and the prompt field name. This designates the field as a prompt field as opposed to a regular field.

Prompt fields can be added to any pack layout, pack item or package template

Using prompt fields in conjunction with subject fields

There will be many occasions where the photographer will want the product to display subject data by default but allow the customer to 'override' the subject field data by entering their own data when prompted. Furthermore if the product is ordered without any custom data the product should likewise print with the default subject field data

This is achieved by using prompt field names that match subject field names. A prompt field of @?firstname for example will use custom data if entered but default to the subject field @firstname in the absence of custom data. Likewise a prompt field @?name will default to the subject name (firstname+lastname).

If a prompt field name is the same as a subject field name, IOS will display and print the product with subject field data unless the customer enters their preferred data

See example and download template

An example of the above can be see on the Timestone demo IOS site with this link:
See example

The template used in the above example can be downloaded here.
Download template

Prompt fields and conditional text

As with regular fields, prompt fields can be used in conditional text statements. This is useful, for example, if prompting the customer for data for a trader card. Headers for the data (Age, Height, Weight etc) can be made to display only if data is entered into the prompt field.

Consider the text box below where the customer is prompted for their age via a @?age prompt field. For detailed information on conditional text please consult Conditional text

{@?age|Age: @?Age Years Old}

See example and download templates

An example of the above can be see on the Timestone demo IOS site with this link:
See example

The templates used in the above example can be downloaded with the following link. Note the use of a Package Template to display the trader backin IOS. Printing templates for the trader front and back are included in the download.
Download templates

End of article