Trying to create an unique number

Error occured during the loading of this form. We do not recommend you use this form for data entry until this is resolved.

Please contact support@kobotoolbox.org%2C%20message%3A%20Unexpected%20comma%20outside%20function%20arguments.%7B%22stack%22%3A%5B%7B%22t%22%3A%22root%22%2C%22tokens%22%3A%5B%7B%22t%22%3A%22str%22%2C%22v%22%3A%2209%22%7D%5D%7D%5D%2C%22cur%22%3A%7B%22v%22%3A%22%22%7D%7D) with the link to this page and the error message below:

FormLogicError: Could not evaluate: concat(substr(now(),5,7)),substr(now(),8,10),substr(now(),11,13),substr(now(),14,16),substr(now(),17,19)), message: Unexpected comma outside function arguments.{“stack”:[{“t”:“root”,“tokens”:[{“t”:“str”,“v”:“09”}]}],“cur”:{“v”:“”}}

You have unbalanced ) brackets, remove last ) in 1st substr expression, please.

1 Like

@wroos, :bowing_man: :heart: