Field level condition

Hello,

I have 2 doctypes for Country and states respectively.

Now I want to validate my state field like it give me selection only on the depends on selected country.

How can I validate?

Use validate event, Check following date validation example

https://frappe.github.io/erpnext/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/date-validation

1 Like

Hi,
@Chandresh_Thakkar
see this below link

Thanks

Did this get solved?

Thanks