|Navigation: Templates > Guide to all Templates > Code Templates >====== Control Value Validation code template ======
This code template gets the value of the control and matches it against the value in the key. You can add this code template on an ENTRY, SPIN, LIST, or COMBO control; at the Accepted or Selected embed point. The code generated by this code template gets the value in the control, then matches it against the value in the key.
It can also call a lookup procedure to let the end user select a value. You can check whether the end user has successfully completed the lookup procedure by checking the value of the ThisWindow.Response (or SELF.Response) variable.
See Also: Request and Response