You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to check if the value of a field is null or not

Received Response
441
Views
3
Comments
edited Apr 30, 2018 7:00AM in Visual Builder 3 comments

Summary

how to check if the value of a field is null or not

Content

Hey,

 

I've a text field at the form, if the value of the field is not null, I wish to perform certain action. So for checking, if the value of the field is null, I'm using

 

if($SearchEmployeeEntityDetailArchetypeRecord.getValue('state')!='undefined'){

     alert("Value entered");

}

But this doesn't seem to work fine, It alerts "Value entered" even when no value is entered for text field.

 

Any help will be really appreciated.

 

 

Thanks!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!