with this code i am able to calculate no of days excluding weekends , now what i want to do is i want to pick up value from text field and then pass on to calcBusinessDays and then what ever is return from function want to display in new text field
...
with this code i am able to calculate no of days excluding weekends , now what i want to do is i want to pick up value from text field and then pass on to calcBusinessDays and then what ever is return from function want to display in new text field
Where are the text fields? What is the new display field you mention/
Need some more code to help.
Are you planning to have the user enter "October 19, 2012" and the other date correctly?
Do you have any error checks for when the user makes a mistake?
BTW: You should enclose your script between [ code] and [ /code] tags (without the spaces)
to make it easier for forum members to read, copy, test and debug. It will also preserve your formatting.
Bookmarks