I am trying to test in the onWebEvent of my search button whether or not the user
entered anything into a particular field. I have tried:
----------------
CSpDisplayField dfDate1 = getDisplayField("FormData_Date1");
if (dfDate1.getValue().isNull()) ...
----------------
and
----------------
CSpDisplayField dfDate1 = getDisplayField("FormData_Date1");
String strStartDate = dfDate1.getValue().toString();
if (strStartDate == "") ...
----------------
These both evaluate to FALSE whether data is entered or not. This is for a search
page, and I'm using ND 4.1.3.
Thanks,
Tom
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]