...
UsingĀ Business Rules, we can autofill not only the employee text boxes, but also the corresponding Reviewer box and Report Date. The employee information and the Reviewer name are automatically filled in using the credentials of the user who is logged in. The Report date will be filled in using a separate ruIe. The IRS Mileage Rate is a default value for that field.
Here is an example of a rule to fill in the current date using the frevvo.currentdate function. Refer to
...
theĀ Rule Validator documentation for help troubleshooting your rules.
Code Block |
---|
if (form.load ){ ReportDate.value = frevvo.currentDate(form); } |
...