Doesn’t this:
if (company == ‘’ || company == null)
mean the same as this:
if (company == ‘’ && company == null)
and when is it better to call a field on a tab panel by relation:
if (gconst01_to_address.address_num == 1 && gconst01_to_address.street != “” && gconst01_to_address.street != null)
or by hitting the element in this manner:
if (forms.tab_address_main.address_num == 1 || forms.tab_address_main.street != “” || forms.tab_address_main.street != null)
and why would both these scenarios above ignore my wishes and completely overwrite pre-existing text in the field?
Example:
if (gconst01_to_address.address_num == 1 && gconst01_to_address.street != “” && gconst01_to_address.street != null)
{
gconst01_to_address.street = ‘9999 Melrose Avenue’
}
Thanks!