Skip to main content
Inspiring
April 28, 2012
Question

Validating a text entry box

  • April 28, 2012
  • 1 reply
  • 217904 views

In the Text Entry Box field, I want to restrict the user to type SD1234 text. Where first two characters should be "SD" and rest can be any numeric values. Please suggest if I can achieve this validation through IF condition of the advanced action.

This topic has been closed for replies.

1 reply

Legend
April 29, 2012

Hi Sujoy,

This is possible with the TEB Validator widget.

Here's a live demo displaying your specific use case:

http://CaptivateDev.com/demo/Cp5/Sujoy/TEBValidator.htm

Here's a link to the Cp 5.5 project:

http://CaptivateDev.com/demo/Cp5/Sujoy/TEBValidator.zip

Here's more info about the widget:

http://captivatedev.com/2011/04/11/adobe-captivate-5-widget-text-entry-box-validator/

Let me know if you have further questions.

Thx,

Jim Leichliter

Lilybiri
Legend
April 29, 2012

Thanks, Jim, I thought you would reply, wanted to give the same suggestion.

Lieve