Plum DEV Documentation
developer_reference:tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developer_reference:tutorial [2016/10/04 11:01]
admin [Standard Events]
developer_reference:tutorial [2016/10/04 11:02] (current)
admin [Standard Events]
Line 349: Line 349:
 In the above example, we are defining custom exceptions for the first two occurrences of the nomatch and noinput events, as well as separate exceptions for the third occurrence of each nomatch and noinput event. In the above example, we are defining custom exceptions for the first two occurrences of the nomatch and noinput events, as well as separate exceptions for the third occurrence of each nomatch and noinput event.
  
-It is good practice to include the "​count"​ attribute when defining exception events to avoid infinite loops and to increase the customer experience, for instance by helpfully transferring the user to customer service when they are having difficulty entering input. Remember that count = 1 will execute for both 1 & 2 because, the FIA looks at all of the matching <​catch>​ elements and finds the highest count value that is <= the current count.+It is good practice to include the "​count"​ attribute when defining exception events to avoid infinite loops and to increase the customer experience, for instance by helpfully transferring the user to customer service when they are having difficulty entering input. Remember that count = 1 will execute for both 1 & 2 because, the FIA looks at all of the matching <​catch>​ elements and finds the highest count value that is less than or equal to the current count.
  
-If you want to specify different nomatch prompts for each invalid try you would set the count to specific ​number, this is shown in the code below:+If you want to specify different nomatch prompts for each invalid try you would set the count to specific ​consecutive numbers, this is shown in the code below:
 <​code>​ <​code>​
 <?xml version="​1.0"?>​ <?xml version="​1.0"?>​