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.

Returning customized error page

Featured Replies

  • Newbies

I have designed a form to create a new record, but only allowed users can create it, so when they click the submit button, FM ask them for password.

If they are not registered as users FM returns a standard window "Access is restricted to db, You are not allowed to create records".

There is a way to costomize the erro page? I have tried this with no success:

<form action="FMPro" method="POST">

</p>

<p><input type="hidden" name="-db" value="CabalRes.fp5">

<input type="hidden" name="-lay" value="Intro">

<input type="hidden" name="-format" value="Formatos.htm">

<input type="hidden" name="-error" value="error_intro.html">

errorintro.html is the page I want to return with this error (Error 714?)

Unless you are using lasso, this is a built in function of the web companion, it has specific error pages for certain errors which the -error page does not capture. one of them is the HTML authenticated password. Another is if your DB isn't open. There is no way to change this, it is generated by Web companion. You could write your own CGI if you really wanted to take care of this.

You can do login before the page. Then users without password cannot proceed and users already logged in can.

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.