problem with have multiple subjects appear on the web page in multiple lines

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default problem with have multiple subjects appear on the web page in multiple lines

    Hello, group

    I have got this problem, hoping someone can help me to figure it out
    what is wrong.
    I have some fields in the database:
    Publication
    Year
    Author
    Name
    Subject
    keywords

    In Subject filed, I would like to put multiple subjects in the
    database and have them appear on the web page in multiple lines ( one
    subject in one line), but right now I type in three subjects in
    Subject field and the three subjects all appear in one line, and I
    have to seperate them with comma. But I wuld like to have the three
    subjects in three lines instead.

    What CDML code do I have to put in the list result page please?

    Here is the code in my web page:

    [FMP-Record]
    <tr>
    <TD colspan="2"><font face="Arial, Helvetica, sans-serif"
    size="2"><b><font face="Arial, Helvetica, sans-serif" size="2"
    color="#000000"><i>[FMP-field:
    Keywords]</i></font><br>
    <font face="Arial, Helvetica, sans-serif"
    size="2"><b><font color="#FF9900">[FMP-Field:
    Publication] </font></b></font></b><font face="Arial,
    Helvetica, sans-serif" size="2"><font face="Arial, Helvetica,
    sans-serif" size="2">[FMP-Field:
    Month] [FMP-Field: Day], [FMP-Field: Year] [FMP-Field:
    Page]</font></font></font></TD>
    </tr>
    <tr>
    <TD valign="top" width="79">
    <div align="right"><font face="Arial, Helvetica,
    sans-serif" size="2"><b>Subject:</b></font></div>
    </td>
    <TD valign="top" width="282">
    <div align="left"><font face="Arial, Helvetica,
    sans-serif" size="2">[FMP-Field:
    Subject]<br>
    <br>
    </font></div>
    </td>
    </tr>
    <tr>
    <TD valign="top" colspan="2" rowspan="2">
    <div align="right"><b></b></div>
    <div align="left"></div>
    </TD>
    </tr>
    <tr>
    <TD width="60">
    <div align="center"><font face="Arial, Helvetica,
    sans-serif" size="2"></font></div>
    <div align="right"><font face="Arial, Helvetica,
    sans-serif" size="2"><a href="[FMP-LinkRecID: layout=cgi,
    format=form.htm]">Detail</a></font></div>
    </TD>
    </TR>
    <tr>
    <TD colspan="3">
    <hr noshade color="#FF6600" size="1" width="380"
    align="left">
    </TD>
    </TR>
    [/FMP-Record]

    I greatly appreciate your help. Thanks very much in advance.

    Shuqian
    Shuqian Guest

  2. Similar Questions and Discussions

    1. Advanced OOP: Best OO design for rendering multiple page types to multiple devices
      Hoping to get some ideas from more experienced hands regarding the best way to use object-oriented design to assist my development of a content...
    2. regex multiple lines
      I'm trying to parse a bit out of an HTML file, where the formatting could change daily as far as spaces/newlines go. Say for example I have...
    3. [PHP] multiple FORMS on same page problem.
      I am creating a page with 2 buttons. One which will refresh the page and the other that will go to another page. My problem that I need to put all...
    4. Help parsing multiple lines?
      I have to cut and paste lots of contact info into a FMP database. I copy text from multiple sources and paste it into my database one line at a...
    5. Problem changing strokes on multiple lines
      I am trying to change a selection of objects (Freehand MX/windows XP) to the same stroke type. I have selected all of the strokes and applied the...
  3. #2

    Default Re: problem with have multiple subjects appear on the web page inmultiple lines

    >
    > In Subject filed, I would like to put multiple subjects in the
    > database and have them appear on the web page in multiple lines ( one
    > subject in one line), but right now I type in three subjects in
    > Subject field and the three subjects all appear in one line, and I
    > have to seperate them with comma. But I wuld like to have the three
    > subjects in three lines instead.
    Really, we're looking at [FMP-Field: Subject] here...

    Now if you have the information on seperate lines in the
    database field:
    One
    Two
    Three

    Then you can use one of the attributes of FMP-Field like
    this:

    [FMP-Field: Subject, break]

    That should insert a <br> wherever there is a new line in
    the database field.

    This is in the CDML Reference database that you can download
    from FileMaker.

    Webko
    Tim Booth Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139