Recently changed documents

OpenGL

More documents like this are at:  OpenGL

6-Apr-09

OpenGL

Legends and Lyrics

More documents like this are at:  Humanities Current

6-Apr-09

Legends and Lyrics

book: Isaac Rosenberg by Jean Moorcroft Wilson

More documents like this are at:  Books

6-Apr-09

How small a thing is art, A little pain;
disappointment, and any man feels a depth - a boundlessness of emotion,
inarticulate thoughts no poet has ever succeeded in imag[in]g.
Death does not conquer me, I conquer death
I am the master

I thought I knew web forms. Atleast I thought I have a working knowledge of how forms work. I didn't realize the number of surprizes I found on the way.

My quest started with an innocent inspiration. I like words and their origins. I wanted to put a look up for dictionary.com on my web log. The form was simple enough with a single text field that takes a word or a phrase and then look up its meaning from an online dictionary.

While playing with the idea, I have realized that when a form has a single text field, "enter" button is acting like a submit with no need for an additional button on the form. I thought that was quite nice. I have added an additional link for unsuspecting users to explicitly look up the meaning if they were not yet clued into the enter. I liked the outcome as the form blended so unobtrusively into the homepage that it does not even look like a form.

Looking back, I liked this form because

  1. I could enter a word and look up the meaning by simply hitting enter. No need to shift the focus.
  2. For new users the link worked like a button, and yet takes lesser space and looks more like a web page and not a diaglogue

More over actions resulting from both controls are rerouted through the same javascript function that looked up the meaning using a url. I was thrilled. "Wow, this is nice" I told myself.

Time passed. Another day and one more form. But this time the form has a few more fields and a couple of buttons. With stoic confidence I was certain I could work the same magic again. However hard I have tried I could not see why the form is not getting submitted on "enter". So I have started cutting the form down half at a time. When I have reached the single text field it started working. I kind of guessed at this point that at least one of the buttons have to be a submit button and that resolved the issue. But now I wasn't sure if it was a fluke with ie that the single field worked at all with out a submit button.

I decided to google (investigate) the mater. What followed was a string of surprises.

I came to know that indeed the single text field case is part of the spec. I came to know that it is possible to use images as input controls in forms. I also have realized some common patterns that one can use by intelligently navigating the onclick, onsubmit and action javascript functions. It is also possible to make input controls read only or disable them. It is possible to change the target of a form to paint the result in the same page or a new page etc. This article explores some of these topics in more detail in addition to providing a further reading in the references section.

Nevertheless it continues to be a challenge to style text fields, buttons, and forms in general. Encoding of form data and submitting a form programmatically are large topics by themselves. I have included these items at the end for further exploration.

This article talks about the essentials and less exploited features of web forms for every day usage.

Books by Art Linkletter

More documents like this are at:  Books

24-Mar-09

Books by Art Linkletter

book: Lafcadio Hearn: American Writings

More documents like this are at:  Books

21-Mar-09

book: Lafcadio Hearn: American Writings

Book: Pugin and the Building of Romantic Britain

More documents like this are at:  Books

21-Mar-09

Book: Pugin and the Building of Romantic Britain

Great victories and great opportunities are with in your reach.
Let not quotidian distractions hijack your attentive march

Freedom is about spending less money

More documents like this are at:  05.10-Letters To My Daughter

17-Feb-09

Freedom is about spending less money

Introduction to Android

More documents like this are at:  Older Android Notes

13-Feb-09

Introduction to Android

view animation

More documents like this are at:  Android Animations

6-Feb-09

view animation

view animation code

More documents like this are at:  Android Animations

5-Feb-09

view animation code

layout animation

More documents like this are at:  Android Animations

5-Feb-09

layout animation

layout animation code

More documents like this are at:  Android Animations

4-Feb-09

layout animation code

monochromatic flock

More documents like this are at:  Shells: My Writes

4-Feb-09

monochromatic flock

animation2

More documents like this are at:  Android Animations

3-Feb-09

animation2

book: Why evolution is true

More documents like this are at:  Books

2-Feb-09

book: Why evolution is true

Amazon link

Place of Pride

More documents like this are at:  quotes

2-Feb-09

Grace, wisdom and beauty you may enjoy, but beware pride, which alone can tarnish all the rest

- A latin inscription at "Crac des Chevaliers" of Western Syria

Freedom in daily choices is essential for practical reasons....

More documents like this are at:  quotes

26-Jan-09

Freedom in daily choices is essential for practical reasons....

People accomplish things by focusing on the goal, and letting their instincts, mainly subconscious, try to get them there....

The overlay of law on daily choices destroys the human instinct needed to get things done. Accomplishment is personal.

- Philip K Howard

Most things happen through the usual process of trial and error by which we feel our way to success

- Michael Polanyi

We all declare for liberty but in using the same word we do not all mean the same thing.

- Abraham Lincoln

within which men should be inviolable.

- Isaiah Berlin

10 Open GL Chapter

More documents like this are at:  Older Android Notes

24-Jan-09

10 Open GL Chapter

Deserving Success and Getting it

More documents like this are at:  quotes

17-Jan-09

People do not object to artists deserving success - only to their getting it

- Max Harrison

Staring at Death

More documents like this are at:  quotes

17-Jan-09

No one wants to die. Even people who want to go to heaven don't want to die to get there. And yet death is the destination we all share. ...Remembering that I'll be dead soon is the most important tool i've ever encountered to help me make the big choices in life."

- 2005, Steve Jobs

Why you shouldn't hang your kid upside down

More documents like this are at:  Shells: My Writes

14-Jan-09

"Mom! Simon is a diarrhea head."

"Narayan I want to watch TV. Can you stop jumping on the bed."

"But he is mean!"

"Ok! if you continue with this, I will hang you upside down!!"

"Ohhh Yaaaaa! Then I will thwo up on You!!!. How about that"

In my "6 year old speak" "Thwo" should be translated to "Throw".

Sample Implementation of a Provider

More documents like this are at:  Android Data Storage

3-Jan-09

Sample Implementation of a Provider

ENd user Application ideas

More documents like this are at:  Older Android Notes

29-Dec-08

ENd user Application ideas

Conclusion...

More documents like this are at:  Humanities Current

29-Dec-08

A thought has a conclusion.
While it is not concluded,
Listless, unrestful, sad, and distracted
is the tremoring mind.
 
Woven shrouds hide it
from the cogitating mind.
Leading questions, 
Patient deconstruction,
Hope and courage,
The peaceful conclusion awaits.

Footprints on the sands of time...

More documents like this are at:  Humanities Current

27-Dec-08

In search of foot prints...

Who is Miguel Zenon

More documents like this are at:  Humanities Current

21-Dec-08

"This young musician and composer is at once reestablishing the artistic, cultural, and social tradition of jazz while creating an entirely new jazz language for the 21st century."

--MacArthur Foundation,2008.

A link to MacArthur citation

Who is Tony Foster?

More documents like this are at:  Humanities Current

21-Dec-08

Dubbed as artist explorer incredibly inspiring paintings

His homepage is at

homepage

01 Introduction

More documents like this are at:  Older Android Notes

20-Dec-08

01 Introductio