Hi Team,
I want to restrict all characters except hiphen "-" in input.
Format should be 123456-6754 (6 digits followed by hiphen and followed by digits),
Please let me know how to do this.
Hi ujwala,
You not clear your application type .but ,if you are using reactive app then you can achieve it by below Asset
https://www.outsystems.com/forge/component-overview/7838/inputmask-react
Thanks and regards,
Akshay Deshpande
you can achieve it using this component:
https://www.outsystems.com/forge/component-overview/647/custom-input-masks
Regards
Hello Ujwwala,
Along with the above suggested forge components you can also restrict the input characters using Regular Expression. Please refer the below link to know more about RE.
https://success.outsystems.com/Documentation/How-to_Guides/Logic/How_to_use_regular_expressions_in_OutSystems?
Thanks & Kind Regards,
Sachin
Hi ujwala ,
if you want to use only 1 or 2 hyphens"-" the you can use variable of that input as long integer.
Thanks
shehroze khan