Hi,
I have one textbox called Text_DATE that only shows the day of the month I also have a combobox named cboCommit in addition to this I also have
31 textboxes named txtCommit1, txtCommit2, txtCommit3 and so on and so on until it hits txtCommit31, one textbox for every day of the month for a 31 day month. Basically in stead of writing 31 if statements and attach it to the blur action of the cboCommit combobox I decided to do it a little differently, this is the code that I have, but for some reason it does not work, so basically my question is can this be done at all in acrobat (view code below).
var strDate = this.getField("Text_Date")
var cboCommit = this.getField("cboCommit")
var txtCommit = this.getField("txtCommit"+strDate)
txtCommit.value =cboCommit.value
I have one textbox called Text_DATE that only shows the day of the month I also have a combobox named cboCommit in addition to this I also have
31 textboxes named txtCommit1, txtCommit2, txtCommit3 and so on and so on until it hits txtCommit31, one textbox for every day of the month for a 31 day month. Basically in stead of writing 31 if statements and attach it to the blur action of the cboCommit combobox I decided to do it a little differently, this is the code that I have, but for some reason it does not work, so basically my question is can this be done at all in acrobat (view code below).
var strDate = this.getField("Text_Date")
var cboCommit = this.getField("cboCommit")
var txtCommit = this.getField("txtCommit"+strDate)
txtCommit.value =cboCommit.value