Hi there, wondering if there exists a way to set a question to NULL (or None) inside a if/else statement.
I have a kind of large survey where at the begin I call a pulldata() function to know if a register exists, then save the globalid as question (${feature_globalid}).
After that in another question, I check if there exists such feature using: string-length(${feature_globalid}) > 0 , to avoid calling pulldata to get other properties (from relationships tables).
So, in the calculation column, I am using something like this:
if(string-length(${feature_globalid}) > 0, pulldata("@layer", "getValue", "attributes.x", ${url_y}, ${where_z}), '')
but I DO not want to fill te question with '' when there is no exist such feature. I want the question to be NULL (for webhook reasons).
I know I can just call pulldata() (and return NULL when no the feature is not found) directly without previous check, but as I need to call pulldata() many times after.
When using the '' inside the if/else statement, when changing the question value a double arrow symbol appears which is annoying (and if I press the double arrow symbol it undoes the question value).
Thanks in advance!