In this guide, we will explain how to input numbers with decimal places on the “Number” field with Min and Max values.
- Initial Setup:
- Drag and drop a “Number” field onto your form.
- Rename the field as needed.
- Configuring The “Number” Field:
- Click the pencil icon on the “Number” field.
- Fill in the “Min” and “Max” values as shown below.
- Click “Add Custom Attribute”.
- Add validation rules as shown below:
input || data-parsley-excluded || false
input || step || .01
input || pattern || \d+(\.\d{1,2})?
- Save all the changes.
- Test The Form:
- Now you can enter a number with decimal places between “Min” and “Max” values.
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂