Hello,

this may have been discussed before, but is there a way to filter inputs
in a PG_WIDGET_FIELD ?

I would find useful to be able to register a validation function
(provided by the application) to the widget, that gets the string as it
would be if the key stroke is accepted; the function would check the
string and return a boolean to accept or reject it, and finally the
field would hold either the new string or the old value accordingly.

This principle allows a great flexibility, like regex checking, length
checking, etc. etc.

If this is not yet available, and if you all agree (or don't care), we
would like to implement it, but I need from you Micah a few hints to
start.

Regards,

  Pascal


-- 
Pascal Bauermeister 
Head of Software Development

SMARTDATA
PSE-A / EPFL
CH-1015 Lausanne

http://www.smartdata.ch
mailto:[EMAIL PROTECTED]
Phone: +41 (21) 693 84 98
fax: +41 (21) 693 84 91

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to