The method app.form.convertToData(formId) returns a string also when the input type in the form is “number”. Is it a bug or I’m missing something here?
I have <input type=“number” name=“testNumber” … >
and I retrieve
formData.testNumber = “123”
formData.testNumber = 123
Searching on web I found this
but it’s probably too old…
Do you have any idea?
Thanks a lot!
HTML inputs values are always strings
ok, I ended up parsing the elements of the form based on their input type.
thanks a lot for your response