Fetch input value of field for validation rules function

Fetch input value of field for validation rules function

Hello,

I want to validate a field in zoho CRM to make sure that the input someone is entering in that field is less than a variable that I created in the zoho deluge function. How do I get in the deluge function editor the input that someone put into the field that is being validated. I can use zoho.crm.searchRecords or getRecords to fetch already existing records but I need to know how I can get the input in the field.

E.g.  zoho.crm.searchRecords -> output gives me 5 now I want to check if the input someone wants to make in the field is less than 5. How do I get that input into a variable I can use in the function editor

Kind regards