Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

DateTimeItem doesn't validate the value as appose to DateItem

$
0
0
Hello,

I'm using SmartClient_v91p_2014-03-23_PowerEdition.

When I use this code and enter invalid data the validation error appear only in the DateItem and not in the DateTimeItem, why?

Code:

isc.VLayout.create({
        ID:"mainPageLayout",
        autoDraw:true, // This is the only place to set autoDraw true
        width:"100%",
        height:"100%",
        members:[

          isc.DynamicForm.create({

            ID:'form1',

            titleAlign:"left",

            validateOnExit:true,

            fields:[

              { /* Date */

                name:"date",

                title:"Date",

                editorType:"date",

                useTextField:true

              },

              { /* Date Time */

                name:"dateTime",

                title:"Date Time",

                editorType:"dateTime",

                useTextField:true

              }
            ]
          })

        ]

      });


Viewing all articles
Browse latest Browse all 4756

Trending Articles