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.

Table flow 3 across not one across?

Featured Replies

Hi

When displaying the results of a search online using Lasso I want the results to appear three across and not singular with one record under another.

The code I am currently using is the standard:

[Records]

[Field: Name] [Field: Thumbnail Image of Record]

[/Records]

If I have 75 records it will therefore return 75 rows of results. What I want is 25 rows of results with 3 results in each row.

How do I set the html page/table to effect this flow across 3 columns?

Any advise will be greatly appreciated! confused.gif

If you were using just CDML you would do this with some Javascript. However, I assume that Lasso may have some "tools" which enable you to this. (I don't know any Lasso.)

Does Lasso allow you to use variables? If so, can you increment them? For example, the logic would be like this:

<tr><td>Name</td>

[recs = 0]

[Records]

[if: (recs mod 3) eq 0]

</tr><tr><td>[Field: Name] [Field: Thumbnail Image of Record]</td>

[else]

<td>[Field: Name] [Field: Thumbnail Image of Record]</td>

[/if]

[recs = recs + 1]

[/Records]

Good Luck.

Garry

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.