June 13, 201213 yr On a web entry form with radio buttons using a valuelist, some of the choices have the radio button on the far right of the line above the wording of the choice, making that choice confusing. Is there a way to force each value to have a new line? (Or enforce orphan protection, so at least each choice has a couple of words next to the radio button?) Here is an example where there is a button for BISC650 next to BISC432 text: Here is the current code (Valuelist and field are both called 'position'): <?php $fieldValue = $record->getField('position', 0) ; ?><?php getInputChoices("radio", $layout->getValueListTwoFields('position', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, getFieldFormName('position', 0, $record, true, 'RADIOBUTTONS', 'text'), 'text', $submitDateOrder);?> I tried using a hyphen in the value list, but that showed as a choice (rather than a new line as in a Filemaker client). We are using Filemaker 10 server. Thanks for any suggestions!
June 14, 201213 yr Author It actually works on the website to put <br /> and in the value list: Lecturer<br /> Instructor - BISC101 <br /> Instructor - BISC432 <br /> Instructor - BISC654 However, when the form is submitted, '<br />' is visible to people viewing the field with a Filemaker client (nbsp; is not, at least not visibly!). Any suggestions for cleaning up the submission, or a different coding character for a hard return- I tried other 'return' characters... Lecturer  Instructor - BISC101
 Instructor - BISC432 Instructor - BISC650 <br /> Instructor - BISC654 But none of these (except <br />) worked.
February 13, 201312 yr I got the same problem. here is the fix : Find the getInputChoices function int he fmview.php file and there you can modify the html code generated by the function... Martin
Create an account or sign in to comment