In the code that I am working with I have a portion of the code into which which data can be entered or not.
If the data is entered Great!
But if the data is not entered, the 'variables' are Undefined.
When I do my .is('visible') test and it is TRUE, then I check the 'variables' into which data should have been entered.
I am interrogating the 'variable' with the following internal function:
But when I attempt to test chkMotorcycleRvMake I find the following:
* If data was entered, the entered value is shown
* If data was NOT entered, them chkMotorcycleRvMake is Undefined (not value = NULL)
Apparently the data entry creates the 'variable' and populates it.
And apparently the user skipping over the entry, does not create it.
Is there a test that I can use on the 'variable' to identify if it is Undefined?
Thanks,
JRB-Bldr
If the data is entered Great!
But if the data is not entered, the 'variables' are Undefined.
When I do my .is('visible') test and it is TRUE, then I check the 'variables' into which data should have been entered.
I am interrogating the 'variable' with the following internal function:
Code:
var chkMotorcycleRvMake = bcApp.currentContact.getTransient("motorcycleRvMake");
But when I attempt to test chkMotorcycleRvMake I find the following:
* If data was entered, the entered value is shown
* If data was NOT entered, them chkMotorcycleRvMake is Undefined (not value = NULL)
Apparently the data entry creates the 'variable' and populates it.
And apparently the user skipping over the entry, does not create it.
Is there a test that I can use on the 'variable' to identify if it is Undefined?
Thanks,
JRB-Bldr