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.

Submit to multiple records with single submit form

Featured Replies

I have a form that displays a single record from an online search. I can fill in the form and hit the submit button, and a new FM record is created with the contents of the form. This all works GREAT.

But here is my question: what if I use the [FMP-Record] tags, and within my form I show the contents of 3 seperate records. This is done by using a [FMP-Include: Filename]. Something like:

<form action=FMPro method=post name=Edit>

[FMP-Record]

[FMP-Include: contents.html]

[/FMP-Record]

<input type="submit" name="-Edit" value="Continue">

</form>

That is not the complete form code, but you get the idea. A find is performed, 3 records are found, and each record is displayed in the [FMP-Include: contents.html]. Is there a way once the form is filled out to be able to hit the submit button and basically have all 3 records updated?

I know how it works now would have to be redone, but I don't quite know how. I know it can be done somehow because I have seen it. But I am not quite sure of even where to begin. Does anyone have any thoughts that could point me in the right direction?

Larry

The only way to do this is with php (or similar). We have tried using Javascript and submitting a Form/URL for each record, however this has some problems.

All the best.

Garry

Another way is to display the records in a portal. You can the submit the portal changes in one step. I attach my old example I had published about 4 years ago in the fmwebtalk discussion list.

Martin

multiplerecords.sit.hqx

  • Author

Thanks for the suggestions and samples. I will give it a try.

Larry

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.