Use the VerifySignature Multi Command
Overview
VerifySignature( ) is a little known TIER® MultiCommand that prompts the user to enter their signature password before proceeding. If the user enters the correct final signature password, they click the first button; if the user enters an incorrect password, they click the second button.
Details
No signature is actually saved to the T4W_Signatures table when this MultiCommand runs, but this functionality could be added as an action to the CorrectSig button.This type of functionality could be added to sign group notes or other important documents. Follow the steps below to implement this MultiCommand onto your forms.
- Create a TIER button – this is the button the user will click which prompts them to enter their signature password. For this example, the button name is VerifySignature.
- Create a second TIER button – this is the button that will be automatically clicked when the user correctly enters their signature password. For this example, the button name is BTN_CorrectSig.
- Create an optional third TIER button – this is the button that will be automatically clicked if the user incorrectly enters their signature password. For this example, the button name is BTN_IncorrectSig.In the Params part of the button, add VerifySignature as an AfterAction. Next to this, in parenthesis, specify the button to click if the user successfully enters their password followed by a comma and an alternate button if the user incorrectly enters their password (or type Null if there is no second button).
In most cases, assigning just the first button is enough. When Null is used in place of a second button, then it will display a standard message 'Invalid signature password'.
(See the attachment for complete directions and screen shots.)
