what i am doing is trying to get values from mySQL to a word document with form fields. some of the form fields are checkboxes. how do i check and uncheck the boxes using php?
i use the code below to put text where a textbox is:
$objBookmark = $word->ActiveDocument->Bookmarks('requestEffectiveDate');
$range = $objBookmark->Range;
$range->Text = $requestEffectiveDate;
this code overwrites the textbox with the text but that's fine for this. but on the checkboxes, i want to actually check or uncheck the box. suggestions?
tawraven