ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Prompt on entering value other than its field type


#1

Want to prompt when user enter value other than its field type. Let say Field A is of FLOAT type. When i enter value in it , say ‘abcde’ , and click on save then it is replaced by 0.000. How to use validate here to check whether its float type or integer type. Should I go for ASCII or any other suggestions


#2

Using regular expression but not working here. What I want to do is on save if any field is not according to its field type then , it won’t save giving the propmt for filling correct type data