Error in if else statement when referencing empty content picker
I have a page with a content picker as one of the doc types.
I am using an if/else statement to test if content has been picked. If no content has been picked then I get an error. I've seen some other posts about this but none of the solutions help me. thanks for your help
Error in if else statement when referencing empty content picker
I have a page with a content picker as one of the doc types.
I am using an if/else statement to test if content has been picked. If no content has been picked then I get an error. I've seen some other posts about this but none of the solutions help me. thanks for your help
here is the code
Any insight about how to get this working would be great. I've been trying for hours now and I just can not work it out
Solved!
I was declaring variables that were reliant on the content picker having a value outside of the if statement.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.