- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2016 12:03 PM
I need to make a Minute field and an Hour field. I'd like to limit the Maximum Value the users are allowed to enter in the Minute integer field to 59. Any ideas on how to do that? The ask is for our users to manually enter how much time they actually spent completing the task (Hours and Minutes), so I can't use the Time Worked field.
Thanks,
Richelle
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2016 12:13 PM
onChange of the minutes field:
if(newValue > 59){
alert('Minutes cannot be larger than 59. Please adjust.');
return false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2016 12:13 PM
onChange of the minutes field:
if(newValue > 59){
alert('Minutes cannot be larger than 59. Please adjust.');
return false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2016 12:19 PM
Perfect! The client script worked just like I needed it to.
Thanks,
Richelle