Display an info text in a HTML input field if its focus is lost

June 12th, 2009 · 1 Comment

.extensive-info-text {
color: gray;
font-style: italic;
}

Now that with Ext Core a light-weight version (just 25kB) of ExtJS has been released, I thought it’s time to build a nice example with it.
The result is [...]

[Read more →]

Topics: · , , , , , , , , ,

Mark Required Fields in a ExtJS Form

May 4th, 2009 · 2 Comments

I just had the requirement to mark required fields in a ExtJS form. I started with the code from Jason (Thanks!) and extended it a bit.
Now you may customize how the field marker would look like by assigning a CSS class to a requiredFieldCls property. I also added a descriptive tooltip for the marker – [...]

[Read more →]

Topics: · , , , ,

Phone number selector in ExtJS

April 8th, 2009 · No Comments

Wouldn’t it be nice to use a combo box of flag images to select the country code of phone numbers?
If you use a country selection component that’s quite easy. Just wrap it in a re-usable component together with a textfield for the local number and the result looks like this:
iconcombo1countrycombo1phonefieldphonefield1
And here’s the example’s source:

Ext.onReady(function(){
[...]

[Read more →]

Topics: · , , , , , , ,