Inputmask

Q:

It seems that using “input mask” control will result in textbox field being disabled (cannot key in anything) in web view mode. So any other ideas how can to control user inputs?
How do we know exactly which design time tools can be applied to web/mobile app?Name:  inputmask.png Views: 37 Size:  13.2 KB

A:

If you change the @! to !!!!!! (the number of characters allowed) that works.

When using the @ functions the length of the field needs to be known and if there is no control source bound to it it does not know.


Q:

allowing only numbers? I tried “999” to no success.

A:

Try @F

Even maxlength,maxdecimals,minvalue,maxvalue can be specified:
e.g.

Code:
@F10,2,0,10000

http://www.lianja.com/doc/index.php/Input_Masks

Some input masks are not supported in web/mobile client yet

More info: http://www.lianja.com/community/show…wers-Inputmask

[EDIT] Sorry, my example works only in desktop. Stick with pure @F

A2:

@F10,0 and that will work in all clients.


 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s