Category: How do I do X?
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Force Currency Input to Accept only Positive Values

Issue

I'm using a Currency Input field in a form and need it to only accept values greater than 0. I tried using the "Valid" property with {{CurrencyInput1.value>0}}, but the data object isn't available. Is there an alternative way to do this?

Resolution

The user wants to ensure that a Currency Input field in their form only accepts values greater than 0. They initially attempted to use the "Valid" property in the properties dropdown, but the CurrencyInput data object was not available for selection.

The solution offered is to use the "text" property instead, with the syntax "{{CurrencyInput1.text > 0}}". This will allow the form to validate that the inputted value is greater than 0 before submitting the form data. A screenshot is also provided for clarity.