Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tables & Records!!!!!

Featured Replies

Good Day All

This question may show up in other places in the form.

I was wandering if anybody has had any success in creating a multi columned HTML table with different records in each cell.

Here is what I am shooting for:

______________________________________________

|Record 1 | Record 2 | Record 3 |

|___________|_____________|____________________|

|Record 4 | Record 5 | Record 6 |

|___________|_____________|____________________|

If anyone has any ideas please let me know

Thanx

Rob

That was discussed every week, the best is to do it through JavaScript

here is some basic code, that should do it..

put this part in the head of your document. (between the <head> and </head> tags)

code:


<script language="javascript">

<!---

var count = 0

var howmany = 3

//change the 3 above to the number of columns you will want

--->

</script>


then your records should be coded like this.

code:


<table>

<tr>

[FMP-Record]

<td>

<!--- put the fields you want, between this <td> and </td> tag--->

[FMP-field: whatever]

[FMP-field: anotherfield]

</td>

<script language="javascript">

count = count + 1

if (count == howmany)

{count = 0;

document.write("</tr><tr>");}

</script>

[/FMP-Record]

</tr>

</table>


i didnt test this. but it should work.

This will only work in javascript enable browsers... but since it is very simple javascript, it should work in any browser above version 2.0.

  • Author

Thanx bman

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.