TextBox Validator

0
0

Hi,

I’m porting application from VWG to Wisej and  I found that Wisej does not have TextBoxValidator like VWG. Could you please give an example how to do it with javascript in Wisej?

Thanks you for your help,

Page

  • You must to post comments
0
0

Hi

Here I adjunt the example with the validations made in wisej

Wisej use another control, maskedTextbox, with the equivalent functionality used in winform for a texbox.

In more complex scenarios, like email and numbers with letters, the better aproeach is use regular expressiones.

You can use textBox or maskedTextbox with regular expressions

I hope to be helpfud.

  • Page Page
    Hi, in your example the control is validating on server side by using regular expression, but it does not prevent user from inputting characters 0,1,2,3 … I need to prevent it in client side like MaskedTextbox. Page
  • You must to post comments
0
0

Hi,

sorry for misunderstanding. I need something like Validator of TextBox in VWG and when I set the validator, it prevents user from input incorrect characters. Please see the attachment VWG with textbox, which allows only characters from a-z and 5-9.

Page

 

Attachment
  • You must to post comments
0
0

Maybe he refer to this… (see imagen)

 

  • You must to post comments
0
0

Here left you a small sample with the same textbox validation, in webgui and wisej.

 

  • Luca (ITG)
    Thanks. But did you find the TextBoxValidator class? I can’t find it anywhere in VWG.
  • Paul (ITG)
    I didn’t find it either. the example is how I did validations when I used webgui
  • You must to post comments
0
0

Please send a small sample VWG app showing how you use the TextBoxValidator.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.