<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="http://iqjam.net/iqjam/iqjam.nsf/rsstransform.xslt"?>
<rss version="2.0">
<channel>
	<language>en-us</language>
	<lastBuildDate>Wed, 19 Jun 2013 15:13:19 +0000</lastBuildDate>
	<title>IQJam by Elguji Software - textfield formatting</title>
	<description>An RSS feed generated by IQJam by Elguji Software</description>
	<link>http://iqjam.net/iqjam/iqjam.nsf</link>
	<image>
	    <title>IQJam by Elguji Software - textfield formatting</title>
	    <url>http://iqjam.net/iqjam/iqjam.nsf</url>
	    <link></link>
	</image>
	<item>
		<pubDate>Tue, 02 Nov 2010 22:05:29 +0000</pubDate>
		<title>re: textfield formatting</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Jeremy Hodge&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt; &lt;div&gt;The way to do this would be to write a client side javascript function in one the onKeyDown/onKeyUp/onKeyPress events of the field ... in that function you can do something like this:&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;if(window.event) { // IE&lt;br /&gt;    keynum = e.keyCode&lt;br /&gt;
} else if(e.which) {  // Netscape/Firefox/Opera&lt;br /&gt;    keynum = e.which&lt;br /&gt;
}&lt;/div&gt;&lt;div&gt;keychar = String.fromCharCode(keynum) &lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;then keychar will be the character they entered.  I believe in onKeyDown, you can return false, and it will not record the character, but you'll have to experiment to make sure.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</description>
		<link>http://iqjam.net/iqjam/iqjam.nsf/questions/20101029_textfield_formatting.htm?#56A228C2EB205071862577CF00795A25</link>
	</item>
	<item>
		<pubDate>Mon, 10 Jan 2011 19:57:45 +0000</pubDate>
		<title>re: textfield formatting</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Tommy Valand&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt; &lt;div&gt;If you use thisEvent in the client side script, you could do something like this:&lt;/div&gt;&lt;div&gt;if( !/[A-Z&#93;/.test( thisEvent.keyChar ) ){&lt;br /&gt;   dojo.stopEvent( thisEvent );&lt;br /&gt;}&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;The above code stops the event when the key entered isn't an uppercase letter. &lt;/div&gt;&lt;br /&gt;</description>
		<link>http://iqjam.net/iqjam/iqjam.nsf/questions/20101029_textfield_formatting.htm?#D8A4F236C1BA8C0586257814006DA870</link>
	</item>
	<item>
		<pubDate>Wed, 30 Mar 2011 09:15:00 +0000</pubDate>
		<title>re: textfield formatting</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Ben Poole&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt; There's a client side jQuery plugin which lets you set up, and enforce, various input masking options:  Masked Input Plugin  Perhaps there's a Dojo equivalent?&lt;br /&gt;</description>
		<link>http://iqjam.net/iqjam/iqjam.nsf/questions/20101029_textfield_formatting.htm?#EAD6FCCC01093A4B86257863002D51E8</link>
	</item>
	<item>
		<pubDate>Fri, 29 Oct 2010 14:11:38 +0000</pubDate>
		<title>textfield formatting</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; John Coombs&lt;br&gt;&lt;b&gt;Tags:&lt;/b&gt;  &lt;a href="http://iqjam.net/iqjam/iqjam.nsf/tags.xsp?tag=Text"&gt;Text&lt;/a&gt;  &lt;a href="http://iqjam.net/iqjam/iqjam.nsf/tags.xsp?tag=xpages"&gt;xpages&lt;/a&gt; &lt;br&gt;&lt;b&gt;Question:&lt;/b&gt; I would like to do the following: Have a textfield for a field that only allows uppercase letters to be typed.  I know that I can convert to uppercase, but I want to restrict the typing to uppercase in the user's interface. Additionally, I would like to have a textfield that works in a specific format: ######AAAAAAAA where: # is number only and A is uppercase letter only. Thanks ...&lt;br&gt;</description>
		<link>http://iqjam.net/iqjam/iqjam.nsf/questions/20101029_textfield_formatting.htm</link>
	</item>
</channel></rss>
