issues
search
getodk
/
build2xlsform
service to convert odkbuild-form json to xlsform-compliant xlsx.
Other
2
stars
8
forks
source link
fix: numeric constraints and range values are numeric
#31
Closed
florianm
closed
2 years ago
florianm
commented
2 years ago
livescript is terse, but at least the numeric cast operator is a big plus
convert-question for type "range" casts min, max, step to numeric
no extensive testing done yet with different ranges
tested: numeric question with appearance slider > XLSForm > Central > Collect works
tested: numeric question with valid range > XLSForm > Central > Collect works
Fix #20
update:
constraints work even if the values are strings - won't cast them
add tests to verify that range parameters given as string are getting converted to int
florianm
commented
2 years ago
Of course - there's always space for improvement.
update: