How to capture ratio inputs in KoBoToolbox?

The most straightforward approach would be simply using a text question. If you wish to control it further, you could handle it with a regex code as outlined in our previous post:

Feel free to go through our support article Restricting Text Responses With Regular Expressions.