Hi,

I'm trying to take my use of CForms to the next level and get a bit
more control over validation.

Is there any way to suppress the automatic, scan the widget tree,
validation?

I'd like to call snippets of code like this:
  var fWidget1                    = currentWidget.lookupWidget(widgetId1) ;
  fWidget1.validate() ;
  if ( ! fWidget1.isValid() ) { return 'BAD1' }

  var fWidget2                    = currentWidget.lookupWidget(widgetId2) ;
  fWidget2.validate() ;
  if ( ! fWidget2.isValid() ) { return 'BAD2' }

From my Submit widget.

Right now I get hung up by the automatic validation and I don't
get the error messages show to the user that I would want.

-- 
        Edward Elhauge <[EMAIL PROTECTED]>
"The life which is unexamined is not worth living." -- Plato

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to