Telegram_2020-01-15T14

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 01 > 15 >

Telegram_2020-01-15T14

Telegram link

 

2020-01-15T14:25:13

 

type: mention_name Sokel user_id: 978150881 nothing has been removed from IWForm. No changes to that class at all in this version

 


 

Telegram link

 

2020-01-15T14:28:24

 

We are building a demo and releasing a new doc later today. It is working as it is supposed to work.

 

For numeric input, you have 2 options: DataTypeOptions.NumberValidation = (nvBrowserNative, nvIntraweb)

 


 

Telegram link

 

2020-01-15T14:30:08

 

if you set nvBrowserNative, the *browser* takes care of validation of numbers. Browsers will *allow* you to enter letters and any other chars. But before posting it, it will warn you that that's invalid.

 

If you want to avoid that, you can switch to nvIntraWeb. Then, IntraWeb itself will enforce the input. You can control the type of numeric input via DataTypeOptions.NumberType = (ntInteger, ntCurrency, ntFloat)

 


 

Telegram link

 

2020-01-15T14:37:23

 

just to make sure that I was clear on it: when you use nvBrowserNative, the *browser* is reponsible for the validation. Each browser behaves differently, specially in mobile devices

 


 

Telegram link

 

2020-01-15T14:38:02

 

the browsers in general don't \forbid\ you to enter anything. But after leaving the field, they will show a message saying that the data is invalid

 


 

Telegram link

 

2020-01-15T14:38:52

 

if you want more control over the input, IW gives you all the control (and then the browser is out of the equation). It will render it differently and use our own IW code to enforce the input to comply with your settings.

 


 

Telegram link

 

2020-01-15T14:39:47

 

it is a win-win situation: you want a more relaxed native validation? You have it. You want complete control over the input instead? You have it too

 


 

Telegram link

 

2020-01-15T14:40:08

 

some cool new features :)

 


 

Telegram link

 

2020-01-15T14:46:30

 

Thanks Alexandre! What about my button that does not work on onClick event; is there anything that I have to change because It is compiling but when I click on the button nothing happened

 


 

Telegram link

 

2020-01-15T14:57:06

 

I tested the buttons and they are all working in click and async click. What happens if you create a blank IW application, add a button to it with an OnClick event. Does it fire? I just tested it and everything seems to be OK

 


 

Telegram link

 

2020-01-15T14:58:13

 

Ok I will do that and let you know