iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello, is there any way to change the mask expression of the webinput on the client side?
Currently I'm trying to achieve it using the following web input
<ISWebInput:WebInput ID="customInput" runat="server">
<EditFormat IsEnabled="True" Type="Other">
<ErrorWindowStyle ForeColor="Red">
</ErrorWindowStyle>
<MaskInfo MaskExpression="000-00-0000" SkipOptional="False">
</MaskInfo>
<ErrorWindowInfo IsEnabled="True">
</ErrorWindowInfo>
</EditFormat>
</ISWebInput:WebInput>
Below is the code, which I implemented in javascript to change the masking
var inputObj = ISGetObject("wiApiNum");
inputObj.EditFormat.MaskInfo.MaskExpression = "aa-aaaa-aaaaa-aa-a-9";
But Unfortunately it does not work, is there any solution for my problem which can be implemented on the client side? If so could you please suggest me with a feasible solution.
Thanks,
Phanindra Kuncharapu.
I have tried several ways to achieve your scenario with no luck.
Could you please let us know why would you need to change the MaskExpression on the client-side?
I have a single webinput column in which values are filled based on the country selected,so if the country selected is USA then the webinput control should have one mask expression and if country selected is anything other than the USA I need to set up another mask expression for the same expression on the client side. Please notice that I cannot use 2 columns for my scenario and mask expression should changed based on the country selected in the combo box.
Phanindra
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname