﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Lounge - Changing Web input mask expression on client side </title><link>http://www.intersoftsolutions.com/Community/Lounge/Changing-Web-input-mask-expression-on-client-side/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Changing Web input mask expression on client side </title><link>http://www.intersoftsolutions.com/Community/Lounge/Changing-Web-input-mask-expression-on-client-side/</link><pubDate>Mon, 04 Jul 2016 01:46:10 GMT</pubDate><dc:creator>phanindra</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Phanindra&lt;/p&gt;</description></item><item><title>Changing Web input mask expression on client side </title><link>http://www.intersoftsolutions.com/Community/Lounge/Changing-Web-input-mask-expression-on-client-side/</link><pubDate>Mon, 04 Jul 2016 01:31:14 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I have tried several ways to achieve your scenario with no luck.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Could you please let us know why would you need to change the MaskExpression on the client-side?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Changing Web input mask expression on client side </title><link>http://www.intersoftsolutions.com/Community/Lounge/Changing-Web-input-mask-expression-on-client-side/</link><pubDate>Thu, 30 Jun 2016 14:17:55 GMT</pubDate><dc:creator>phanindra</dc:creator><description>&lt;p&gt;Hello, is there any way to change the mask expression of the webinput on the client side?&lt;/p&gt;&lt;p&gt;Currently I'm trying to achieve it using the following web input&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;ISWebInput:WebInput ID="customInput" runat="server"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;EditFormat IsEnabled="True" Type="Other"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ErrorWindowStyle ForeColor="Red"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ErrorWindowStyle&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;MaskInfo MaskExpression="000-00-0000" &amp;nbsp;SkipOptional="False"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/MaskInfo&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ErrorWindowInfo IsEnabled="True"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ErrorWindowInfo&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/EditFormat&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ISWebInput:WebInput&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Below is the code, which I implemented in javascript to change the masking&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;var inputObj = ISGetObject("wiApiNum");&lt;/p&gt;&lt;p&gt;&amp;nbsp; inputObj.EditFormat.MaskInfo.MaskExpression = "aa-aaaa-aaaaa-aa-a-9";&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Phanindra Kuncharapu.&lt;/p&gt;</description></item></channel></rss>