I want to remove the If statement, which is outside my repeat. When I do I get the error below. Please advise!
${if (Contractor | getValue:"count")>0}
${/}
Contractor on Site ${#Contractor} |
Contractor Name: ${ContractorName} |
Contractor Supervisor/Representative: ${ContractorSupervisor} |
Number of Contractor Personnel Onsite: ${NumberofContractorPersonnel} |
Hours Onsite per day: ${ContractorHoursonSite}
|
Permits Completed ${#PermitSystemRepeat} |
Type of Permit ${PermitSystem} |
Description of other permits ${PermitSystemOther} |
${#PermitSystemPhotoRepeat} ${#PermitSystemPhoto | size:300:0:0:300} |
${/} ${/} |
Complete JHA/JSA for each task: ${#JHA_JSACompletePhotoLog} |
${#JHA_JSACompletePhoto | size:300:0:0:300} ${/} |
${/} ${/} |
${/}
Solved! Go to Solution.
May seem obvious, but are you removing both of these lines when you delete the if-statement? The ${/} below the if-statement doesn't appear to be paired with anything.
May seem obvious, but are you removing both of these lines when you delete the if-statement? The ${/} below the if-statement doesn't appear to be paired with anything.
Thank you, thank you, thank you!
I'd been looking at this all morning, and it didn't break until I removed the if statement, so I thought that was the problem. I need some coffee!