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.

Link Next/Previous after Edit

Featured Replies

Hello,

I'm trying to figure out how to get the Previous/Next links to work correctly after an Edit.

First, I have a page that lists names based on the results of a search. One can click on a name and be taken to the Detail page for that record. The detail page has Previous/Next links at the bottom that allow one to navigate through the Detail pages without going back to the List page. On the Detail page, one can also edit the record. Here's my problem: I want people to be able to click on Edit, and then be brought back to the same Detail page with functioning Next/Previous links. However, after clicking Edit the Next/Previous links are no longer accurate when one is brought back to the page. I thought that perhaps I could add an inline action to the Detail page that would recreate the original search, but I don't know the syntax for including [FMP-CurrentFind] and [FMP-CurrentSort] in an inline.

Thanks for any help!

You could use a token which contains your original search criteria.

I believe that the Sample File CDML Linking to the next record provides some useful ideas in this regard.

  • Author

Thank you for the idea. That sounds like it might work. I'll give it a try and post the results.

  • 4 weeks later...

hi there

I have a similar problem: After a search a list is displayed. When one clicks on one of the list entries one is taken to the detail page (with FMP-linkrecid).

But on the detail page I can't get the linkPrevious and linkNext commands working. Is this possible or not?

Thanks for any help.

kind regards

PJ Wassermann

Hi Unable

I went through your example files - very interesting!

My problem is that I don't want a button to go from the list to the detail page. I want to have a text link and that probably can't be done with a form. Or am I wrong about that?

Maybe I could do an inline action on the detail page, displaying only the related files as a list again.

kind regards

pjw

A "text link" can submit a form. For example:

<a href="Javascript: document.myform.submit();">Text Goes Here</a>

Good Luck.

Garry

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.