W
|
wisdom2009 author 4/4/2010 |
Hi, On the add page i have the following fields : Date , Name, Team, Hours Worked. The HoursWorked Field is depending on the Date field. When a user choose a Date the Hours worked will be automatically populated( i have this part working). What i am trying to do is to add a Snippet that will evaluate the field Hours Worked and if it's greater than 10 Hours an error message will be displayed if less no message. I tried to use the code below but it did not work Function HoursWorked() if VALUES("dHoursWorked")> "10" then response.write "Hours Worked is Greater than 8. Please contact your dealership to solve the issue" else response.write "" end if End Function any help would be appreciated Thank you
|
![]() |
Sergey Kornilov admin 4/4/2010 |
Not sure how do you use this function. |