FORM Field Validations - Plz Help !!

pskannaa
Member Posts: 138
Hi,
I'm new to NAV technology, I have some few basic questions for FORM validations..
Eg: I'm having FORM Fields below:
Customer No:
Customer Type:
Customer Contact:
Validation:
1. The above all fields are manditary, When i Close the FORM or When i move Next/Previous Records, It should be validate that asking the Message like "Customer No should not be blank" or "Customer Type should not be blank" etc..
2. Assume that i have already records, when i open the form and like to modify the value that eg. want to modify the "Customer Type", once i changing the value on the Field it should be asking "Do u wnt to modify the value ?" If "Yes" allow to Change the value, else Keep in the existing value.
Please help as soon as possible.
Thanks & Regards,
Suresh Kanann P
I'm new to NAV technology, I have some few basic questions for FORM validations..
Eg: I'm having FORM Fields below:
Customer No:
Customer Type:
Customer Contact:
Validation:
1. The above all fields are manditary, When i Close the FORM or When i move Next/Previous Records, It should be validate that asking the Message like "Customer No should not be blank" or "Customer Type should not be blank" etc..
2. Assume that i have already records, when i open the form and like to modify the value that eg. want to modify the "Customer Type", once i changing the value on the Field it should be asking "Do u wnt to modify the value ?" If "Yes" allow to Change the value, else Keep in the existing value.
Please help as soon as possible.
Thanks & Regards,
Suresh Kanann P
0
Comments
-
First, you don't want to put any of that code on the form. Validation code must be in the table. Do yourself a favor and don't even start programming that kind of stuff on forms. Second, NAV doesn't work that way. Field are not checked for mandatory values until the records is actually used. There has been a lot of discussion around this topic though, so if you search 'mandatory fields', you should get a bunch of helpful articles.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions