Jump to content

LeratoSelepe

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by LeratoSelepe

  1. thank you @psycho will try your methood
  2. Hi Im a php noob Can anyone please assist in splitting a table into two columns in the following script: <?php foreach (DynamicFormEntry::forTicket($ticket->getId()) as $form) { // Skip core fields shown earlier in the ticket view $answers = $form->getAnswers()->exclude(Q::any(array( 'field__flags__hasbit' => DynamicFormField::FLAG_EXT_STORED, Q::not(array('field__flags__hasbit' => DynamicFormField::FLAG_CLIENT_VIEW)), 'field__name__in' => array('subject', 'priority'), ))); if (count($answers) == 0) continue; ?> <table class="custom-data" cellspacing="0" cellpadding="4" width="100%" border="0"> <tr><td colspan="2" class="headline flush-left"><?php echo $form->getTitle(); ?></th></tr> <?php foreach($answers as $a) { if (!($v = $a->display())) continue; ?> <tr> <th><?php echo $a->getField()->get('label'); ?>:</th> <td><?php echo $v; ?></td> </tr> <?php } ?> </table> <?php $idx++; } ?> I have attached an image and wish to make the table below "Jobcard Details" appear the same as the one above it Thank you Lerato
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.