Ask a Question related to FileMaker, Design and Development.
-
Shuqian #1
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
-
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... -
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... -
[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... -
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... -
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... -
Tim Booth #2
Re: problem with have multiple subjects appear on the web page inmultiple lines
>
Really, we're looking at [FMP-Field: Subject] here...> 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.
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



Reply With Quote

