I need to delimitate User's input just number and letter? How to do it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
If you want to check while typing, I think you are stuck with using Javascript on the field that you need to check. Since Odoo is webbased and web forms are static, input will not be checked whilst typing.
If you want to check afterwards, then simply add the on_change method for the field (the way to do this varies between Odoo v.7 and v.8), where you would check with a method if the input contains any illegal characters.
Hope this helps you out.
Ok.. Thank you Ludo.
is there any solution for this question in studio?
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ