Hi,
I'm trying to populate a field ${DEVICE_ID} with either the corresponding Inbox value or a calculated value for a new record?
The new ${DEVICE_ID} value is calculated from a barcode scan. pulldata("@javascript", "split_barcode_string.js", "getIDFromDeviceStringAndGivenIndex", ${DEVICE_SCAN},":",3)
I've tried and if statement but not sure how you can reference an Inbox variable, any ideas?
if(${survey_mode}='new',${DEVICE_ID_NEW},<Inbox Device ID Variable>)
Thanks for any suggestions.