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.

-find crashed FM if not an exact match

Featured Replies

It seems that if I do a -find on my form using a text box, and if the -find does not match any records, instead of the -error page loading, FM Unlimited just unexpectedly quits.

If I do a -find and it does match a record, not a problem, it continues on to the -format page.

This one has me confused. I have tried hosting the files a various machines, and the problem exists on all of them. It seems to not be consistent though. It crashes about 80% of the time.

<FORM ACTION="FMPro" METHOD="post" name="Find">

<INPUT TYPE="hidden" NAME="-db" VALUE="Research.fp5">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Main">

<INPUT TYPE="hidden" NAME="-format" VALUE="surveyredirectintro.html">

<INPUT TYPE="hidden" NAME="-error" VALUE="surveyerror.htm">

<INPUT TYPE="hidden" NAME="-op" VALUE="eq">

<INPUT class="class" TYPE="text" NAME="Login">

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

I tried taking out the -op, but that did not chage anything. Still crashes if the -find does not find a match.

Anyone see anything like this?

LR

Is there something in "surveyerror.htm" that could be causing the problem?

Good Luck.

Garry

  • Author

Always nice to have a fresh perspective.

My error page is a simple html page with some text saying that no results were found. Such a simple html page that there is no way it could be the problem. But of course I never discount anyones suggestions in this forum.

So I created a new error html page with absolutely nothing on it. And what do you know...the crashing stopped. Now if the -find comes up empty, instead of crashing about 80% of the time, it just goes to the error html page.

So indeed, although I am clueless to determine why the original error page was causing the crashing...it surely was.

Thanks so much for the tip.

LR

Sun-Spots wink.gif

Garry

I've had problems with invisible characters when copy/pasting code... everything looks great but the gremlins can wreak havoc. I find it disturbing that FM unexpectedly quits on you, though. Ah well...

--ST

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.