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
I want to change mask and format edit on client side using javascript.
Before action I have webinput. e.g.
<ISWebInput:WebInput ID="WebInput4" runat="server" Width="140px"> <EditFormat> <ErrorWindowInfo IsEnabled="True"> </ErrorWindowInfo> </EditFormat> </ISWebInput:WebInput>
I am trying to obtain on client side somthing similar to:
<ISWebInput:WebInput ID="WebInput4" runat="server" Width="140px"> <EditFormat Format="00-000" IsEnabled="True" Type="Other"> <MaskInfo MaskExpression="00-000"> </MaskInfo> <ErrorWindowInfo IsEnabled="True"> </ErrorWindowInfo> </EditFormat> <HighLight IsEnabled="True" /> </ISWebInput:WebInput>
I wrote some code in javascript to do this:
var oWebInput = ISGetObject('WebInput4'); oWebInput.EditFormat.Format = '00-000'; oWebInput.EditFormat.Enabled = true; oWebInput.EditFormat.MaskType = 'Other'; oWebInput.EditFormat.MaskInfo.MaskExpression = '00-000';
Unfortunately it does not work .New mask is not appear.
Please.Could you suggest me some solution of my problem using javascript.
Regards,
Mariusz
Hi Mariusz,
Sorry to tell you that EditFormat on WebInput only can be achieved from Server side or from the WebInput Designer.
Thank you,Andi Santoso
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