Skip 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.

Combining -New and -Edit to split long survey?

Featured Replies

I have in mind a solution that seems simple, but maybe FileMaker doesn't let me do this...or maybe I just haven't quite figured out the right coding to make it happen. Here's what I'm after:

I have a long online survey (using FileMaker and CDML) with a total of 50-60 questions in 9 different categories. Rather than feeding all of the questions to my online respondents, I'd like to split the questions into multiple format files so respondents can easily review their responses bit by bit, and build their complete response through a series of submissions. What I'm thinking of is a form with the first part of the survey on format file "survey.htm". The "Submit" button would create a new record in the db (Name="-New") and return a format file (survey2.htm) with the next section of the survey. The "Submit" button on that form would edit the record just created (Name="-Edit"), and return another format file, "survey3.htm" just like "survey2.htm", but with different questions, and so on.

I currently have the entire survey on a single page, and the responses feed in one shot into a single record in the db. That much works fine, and I'd leave it at that, but it is a little daunting to complete, and I'm afraid respondents will be overwhelmed and less than accurate in their responses.

Is this possible with FileMaker / CDML? Seems like a simple thing to do, but I know that I've run up against limitations re: FMP's ability to edit records before.

Any and all ideas are welcome.

You can still have the entire survey in a single record, but show different questions on different pages. The first page will create a new record and enter data in some fields and each other page will edit a different set of fields.

  • Author

Yes, this is what I'm hoping for, but I'm having trouble constructing it. Do I use the Current Record ID to keep adding data to the newly created record? Or do I use the new record's unique ID, created when the record is created, like a search result.

  • Author

Hooray! I got it to work, and it was simple. I was mis-formatting the fmp-currentrecid tag in my original files. After your advice I went back and found the problem. Works like a charm now.

Thanks

  • 3 weeks later...
  • Newbies

Can anyone give me an example of the code that they used to do this. I am also trying to have users enter a long list of data and I would like to break it up into manageable portions. But I dont have any idea where to start. Im using CDML with Filemaker 6 Unlimited.

Thanks in advance!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.