Hi,
Im trying to add border and padding to a textfield element through addFormElement but im having hard time getting it to work.
Can you give me example to give it a border and padding to the form?
this is my code as of now..but its not giving it a border.
$docx = new CreateDocx();
$text = array();
$text[] = array('text' => 'x =');
$frag = new WordFragment($docx);
$textFieldOptions = array(
'border'=>'single',
'borderColor'=>'000000'
);
$frag->addFormElement('textfield', $textFieldOptions);
$text[] = $frag;
$text[] = array('text' => 'two');
$docx->addText($text, $options);
btw, i have the premium version in case you want to know.