Login Register

NumberTextBox

Is it possible to have a narrow TextBox?

The design of one of our applications requires that a certain text box be only wide enough to display a few digits at a time (30px).

There's no problem actually setting the width to 30px but when a user types in the text box, they can only ever see one digit at a time. It seems the rest of the digits are being bumped out of view.

NumberTextBox floating point behavior

Hi,

My first time using dojo and dijit and I am having problems with the behavior of a NumberTextBox widget which I hope someone can help me with. The dijit text box is created entirely with javascript code and what I would like it to do is to allow the user to enter a number between -180 and 180 with, optionally, up to 6 decimal places. Here is what I have :

new dijit.form.NumberTextBox({style:"width: 100px",
promptMessage: "Enter a value between -180 and 180",
rangeMessage: "Longitude out of range",

dijit.form.NumberTextBox not working if not connection to the internet

Hallo piplz,

I have a problem. I use the dijit.form.NumberTextBox for parsing the user inputs. It works very good if my coputer connected to the internet. And it don't works, if I don't have connection to internet.

Why?

Th.

Syndicate content