- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 02:36 PM
Please I need help identifying and correcting possible errors in the following scripts because it's not getting saved:
level1 = current.variables.add_guest_details.getLevel('1');
if! level1.place_of_birth.nil() {
var level1name = level1.avi_last_name + ", " + level1.avi_first_name + " " + level1.avi_middle_initial;
var level1organization = level1.title_job_location;
var level1origin = level1.place_of_birth;
}
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 02:44 PM
Hi @ID NOBLE,
Not sure what you are trying to do but you are missing parenthesis in the If statement.
i.e.
if! level1.place_of_birth.nil() {
should be instead
if (!level1.place_of_birth.nil()){
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 02:44 PM
Hi @ID NOBLE,
Not sure what you are trying to do but you are missing parenthesis in the If statement.
i.e.
if! level1.place_of_birth.nil() {
should be instead
if (!level1.place_of_birth.nil()){