Quick code to check a selection of variables for a code of 2 which is a fail. Checks all of the top variables [‘qnr_main_section1_PF’……..etc. If any of these are marked as code 2 and if so set var qnT = f(‘qnr_overall_QA_PF’); as 2 which is overall fail Else set to 1 which is pass var qIDsToCheck = […]
Question Validation Codes
Date picker, has to be X days in the future from today Exact date is a picker for the user, change anything in bold to fit your needs var a = f(“exact_date“).toDate(); var today : DateTime = DateTime.Now; var todayPlus7 : DateTime = today.AddDays(7); if(a < todayPlus7) { RaiseError(); […]