hi
i ran into a field that even though the text fills in with the code below, when the form is submitted it still thinks the field is blank.
here is the code i use most of the time:
i tried:
and a few other things but no go. when i submit the form it tells me the field is still blank
here is the html code of form input:
might be a trick with the 'onchange' thing. not sure.
thanks
tx
i ran into a field that even though the text fills in with the code below, when the form is submitted it still thinks the field is blank.
here is the code i use most of the time:
Code:
Set ff = .Document.getelementbyID("field1")
ff.Value = "1969123"
or
Set ff = .Document.all.item("field1")
ff.Value = "1969123"
i tried:
Code:
Set ff = .Document.getelementbyID("field1")
ff.Click
ff.Value = "2001"
and a few other things but no go. when i submit the form it tells me the field is still blank
here is the html code of form input:
Code:
<input type="hidden" name="years" id="years_9" value=""/>
<input name="yearsYear" id="years_year_9" title="Year"
type="text" maxlength="4" value="" style="ime-mode:disabled" autocomplete="off" class="css0032"
onchange="CallSetDTyears()"/>
might be a trick with the 'onchange' thing. not sure.
thanks
tx