JAG
10-21-2003, 09:43 AM
I am a novice and trying to do simple scripts is difficult for me, so please forgive my simple questions.
NOTE: I am making a form out of a .pdf file
I have been trying to write 2 different scripts.
1. If I enter a date in field "1" then the next six days is automatically filled into 6 separate fields. This is for a travel voucher. Example: Someone puts 1/1/03 into the field for Sunday, then instead of them having to enter 1/2/03 on Mon, etc, it will be completed for them.
Second question,
2. If a positive number shows in a particular field, then that amount shows up in a corresponding field. If it is negative then it shows up in a different field. Example: "Total Remaining Expenses" if positive, then amount shows up in "Balance Due Employee", if negative, then shows up in "Balance Due ABC Company" (but what shows up in this field should be the number w/o the negative sign).
I hope this is clear enough for anyone to be able to get me going. I appreciate anyone's inputs!
NOTE: I am making a form out of a .pdf file
I have been trying to write 2 different scripts.
1. If I enter a date in field "1" then the next six days is automatically filled into 6 separate fields. This is for a travel voucher. Example: Someone puts 1/1/03 into the field for Sunday, then instead of them having to enter 1/2/03 on Mon, etc, it will be completed for them.
Second question,
2. If a positive number shows in a particular field, then that amount shows up in a corresponding field. If it is negative then it shows up in a different field. Example: "Total Remaining Expenses" if positive, then amount shows up in "Balance Due Employee", if negative, then shows up in "Balance Due ABC Company" (but what shows up in this field should be the number w/o the negative sign).
I hope this is clear enough for anyone to be able to get me going. I appreciate anyone's inputs!