AnsweredAssumed Answered

Filemaker API / Carriage return for checkboxes

Question asked by Phil.Mandel on Jun 2, 2011
Latest reply on Aug 2, 2017 by pdh

Title

Filemaker API / Carriage return for checkboxes

Post

Hi,

I created a small website thanks to PHP Site Assistant.

My "Addrecord" page has a field with checkboxes. But all the checkboxes are on the same line... and I would like one checkbox per line.

How could I modify the following code for this?

<td class="field_data">
    <?php $fieldName = 'Int_Method';?>
    <?php $fieldValue =          $record->getField('Int_Method', 0) ; ?>
    <?php getInputChoices("checkbox", $layout-> getValueListTwoFields('Plan_Int_Method_Guill', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, getFieldFormName($fieldName, 0, $record, true, 'CHECKBOX', 'text'), 'text', $submitDateOrder);?>
</td>

My checkbox list is called 'Plan_Int_Method_Guill' as you can see, and I don't know how to split it into several lines...

Thank you for your help!

Philippe

Outcomes