16
Views
3
Comments
Solved
phone number format in traditional web app
Application Type
Traditional Web
Service Studio Version
11.0.501.0

Hi Team,

I have requirement where I should enter only the below format for phone number in the text filed.

ex: XXX-XXX-XXXX

Can any one help me how to achieve this ?

This requirement for Traditional web application.

Regards,

Madhu Sudhan

mvp_badge
MVP
Rank: #72
Solution

Hi Madhu,

You can download a demo application on the component page.

On the Examples screen of the demo application, you can modify the MaskDefinition of the MaskText webblock that is bound to the Phone Input to your required Phone format like this:

Hope this helps!

Regards,

Nordin

mvp_badge
MVP
Rank: #72

Hi Madhu,

You can checkout Custom Input Masks on the Forge.

Here's a demo application: https://mferreira.outsystemscloud.com/CustomInputMasksSample/Examples.aspx

Regards,

Nordin

Rank: #1196

Hi Nordin,

Could you please share me an example OML file for reference. Thanks.

Regards,

Madhu

mvp_badge
MVP
Rank: #72
Solution

Hi Madhu,

You can download a demo application on the component page.

On the Examples screen of the demo application, you can modify the MaskDefinition of the MaskText webblock that is bound to the Phone Input to your required Phone format like this:

Hope this helps!

Regards,

Nordin