I want to generate a random number only once per form creation. I am using this calculation:
once(int(random())*10)
But am getting this error:
Error loading form. Error: [“FormLogicError: Could not evaluate: once(int(100*random())+1), message: Failed to execute ‘evaluate’ on ‘Document’: The string ‘once(40)’ is not a valid XPath expression.”]