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.

Creating Forms??

Featured Replies

I have created a -find form in xml. When I click to "find" my records I do not get any information returned and the link look like this...

(IP here)/fmi/xsl/ceg/pmhome.xsl?

The rest of the link is missing. Anyone have any thoughts on this?

  • Author

Correction...after doing some testing I have found that the resulting URL will only show the url from above (even if it hits the DB and returns info). So now I am very lost on this. I have other db's with web pages that have forms that work. For some reason none of the forms on the pages with this db will work. Does anyone have the syntax for a form and the header information (if any) that goes with it?

Can you show the source code of your webpage that displays the form? Just the part

beginning with <form ...> and ending with </form>.

Martin

  • Author

I solved the problem. The operator is stupid. I had a field missing on a layout. In filemaker 6 it would give you an error when the field was not on the layout. In 7 it does not give you any errors.

In 7 it does not give you any errors.

Not quite correct. You get the error in the <error code="somevalue"/> element of your result tree in fmresultset grammar. If the value is 0, you are fine, if not, then you can check the error table in the appendix of your Custom Web Publishing Guide. E.g. 102 means "field missing".

To see what happens in the result xsl stylesheet file, I add the following line for debugging:

<textarea rows="10" cols="80"><xsl:copy-of select="."/></textarea>

This shows you the FM result set tree.

Martin

P.S. I used this technique also in this thread:

delete record in XSLT

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.