Login Register

form

Difference between dijit.form and dojox.form

Hi,

can anybody tell me the difference between dijit.form and dojox.form. Both have a DateTextBox for example but what's the difference. And if I want to create een e-mail adres input field, how can I validate this field. Do I have to use the dijit.form.ValidationTextBox and write a regular expression or can I use dojox.validate.isEmailAddress. Then my next problem would be, how to implement dojox.validate.isEmailAddress.

Maybe there is a tutorial on how to make forms with dojo that I can't find.

Thanx

Adam

how do I get a dijit form to validate only displayed fields?

When a input dijit is not displayed (display:none) but marked as required, it causes an error when I try to validate the form. : " _e is undefined "

I have a form that uses one input to do a lookup and populate other fields before displaying them. I'd like to validate the form initially with only a minimal set of displayed fields before finally validating the full form before it's submitted. Because the form will eventually evolve to be me even more complex, it would be nice to have only the displayed fields validated when I call dijit.Form.form.validate(). Any suggestions?

Programmatic replace dijit controls in a form

I'm trying to do a "cool" thing (I hope) that I thought to be easy to get, but my experience in Dojo is not sufficient to achieve this goal.

dojo.data.ItemFileReadStore and dijit.Form

I have to design a form layout. Whenever the HTML is loaded, the form has to show up and the values of the form should be values from a data store (ItemFileReadStore). I have struggled for two days and could not find any way out. Any solutions?

System info

Simple question, but stuck: dijit input field properties do not hold when in a loop.

Hi,

In the following code, my input field in my form repeats as I would like, however the input dojoType and it's properties do not hold after the first iteration. So for example if I have a input dojoType = dijit.form.NumberTextBox; that outputs 10 times in a loop. only the first form will hold certain properties like constraints and trim and the other 9 will appear/function as just normal input text fields. Anybody have any clue why this is??? Any help would be much appreciated.

<?php
$i=1;
while($i<10){

Getting value of underlying formfield through to programmatic dijit

When programmatically applying a dijit to a form textbox, is there an automatic way of "percolating" the value of the underlying html textbox through to the dijit object?

By "natural way", I mean without having to specify explicitely {value : underlyingNode.value} when defining the dijit object.

Security tip in network listening hack technique

Did you ever thing the password that you submit into a page without SSL can be read from network listening hack technique?

see this page :
http://www.mhf.ir/2008/12/01/security-tip-in-network-listening-hack-tech...

this is my idea. :D
comment to me at my blog and if this method is usefull use it as the dojo toolkit. :D

good luck and be waiting.

ContentPane don't support FORM?

Hi,
Hi have in my application a ContenPane widget with attrib href=URL
URL is a particular designed page with a <FORM> html and other field...
When I click on the contentpane with the Firebug Inspector  I see that the tag <FORM ...> and </FORM> are removed from contenpane.

It's normal this for you?
The contentpane don't support the <form> ??

This because if I submit my form inside a contentpane ..don't work...

Have you any suggest for me?

P.S. I use the last version of dojo toolkit (1.2.1)

 

How to enable TextBox Dijit to save Login Data? (i.e Firefox Password-Store)

hi,

I searched in google and in whole dojo site but found any answer

How can I get Form Dijits (TextBox and Form) to login data like normal html input fields?

I'm using those dijits for a really long time but I've never seen this behaviour :(

thx and greetings,
Melchior

Conditionally Required Form Fields

Can you anyone point me in the right direction for handling form fields that are conditionally required? For example, if FieldA=yes/no is required, but FieldB is required only if FieldA=yes. I am using the required="true" attribute on FieldA. However, this does not work when required="true" on FieldB and response for FieldA=no. I have many cases like this in a form and some that nest many levels. Also, I am new to dojo. Thank you.

Syndicate content