Issue with my form deployment

1. What is the problem? Be very detailed.
I am unable to deploy my form.

2. What app or server are you using and on what device and operating system? Include version numbers.
Google chrome. microsoft x64 bit
3. What you have you tried to fix the problem?
I have tried to redeploy by checking the formula
4. What steps can we take to reproduce the problem?
by converting certain currency to USD using calculate ${currency}/520
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
unable to deploy
your form cannot be deployed because it contains errors:

ODK Validate Errors: >> XForm is invalid. See above for the errors. org.javarosa.xform.parse.XFormParseException: bind for ${calculation_002} contains invalid constraint expression [ ${pay_transportation} /520] Unexpected beginning of path Result: Invalid

To divide use "div" instead of "/".

1 Like

Brother, may you write the full formula using div.


I used (${pay_transportation}) div 520. It worked.