Jump to content

Returning customized error page


This topic is 8319 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 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?)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8319 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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