Hi everyone,
I have a JavaScript function that calculates date fields.
In my form i have the following configurations to make it work:
calculation: pulldata("@javascript", "calcularFechaVenc.js", "calcularFechaVenc", ${fecha_not_insc_concesion},700, ${periodo_de_trabajo})
relevant: string-length(${fecha_not_insc_concesion}) > 0 and (${periodo_de_trabajo} = 'plena_temp' or ${periodo_de_trabajo} = 'semi_temp' or ${periodo_de_trabajo} = 'todo_el_anio')
The thing is, when i test this in the Survey123 Connect app. The target fields populate correctly, but when i do the exact same workflow in the browser, the fields doesnt fill. No error appears in console.
I'm using Connect 3.22
Any advice would really help me. Fell free to ask for more info