Extended properties, pattern


I am trying to add pattern to extended properties in text box.

I want the input can only be positive number. 

If I change type from text to number, there is some weird icon appear at the edge of the text box, and it can be inputted to negative number.

Please kindly help.

Thanks in advance.

Hello tBt,

Have you tried the forge component CustomMasks? (http://www.outsystems.com/forge/component/647/CustomMasks/)

If you set the mask definition to 9{*} (allow only numeric chars) it should solve your problem.

Hope this help you,
Kind Regards,
Paulo Zacarias

Hi tBt,

I don't think it's possible to do this that way.

The standard approach is to provide a prompt so the user knows what is expected in the input. And than validate server side.

The spin button you can get rid off using case.

Maybe using some Mask component, like this one, you can achieve what you want.


Eduardo Jauch

Well, in the end, it is easy.

Add the min attribute to extended properties and set the value to "0".

Input must be numeric.


Hello tBt,

Please find sample OML for the solution you are looking for.




Tq HM, Paulo, Ed, my problem solved.