Adding validations for calander
2 posts
• Page 1 of 1
Posts: 6
Joined: Mon Sep 24, 2012 1:28 am |
I am facing some problem with Start date and end date Suppose If by mistake some one enters "End date" < "Start date" then the calendar shows unusual behavior I can understand that but how to avoid saving the incorrect value of "End date" this might be the basic step but I am a learner Please help
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
I think the nicest way to do this is to use a script trigger on all 4 fields (both date and time fields). We'd us an OnObjectValidate trigger and have it run a new script that simply checks if the start date / time is after the end date / time. Your script can warn the user and, perhaps, change the start or end time fields as well (in case your users ignore the warning).
Hope that helps, John John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests