Newbies urdangarin Posted October 2, 2001 Newbies Posted October 2, 2001 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?)
Tyfud Posted October 2, 2001 Posted October 2, 2001 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.
Anatoli Posted October 2, 2001 Posted October 2, 2001 You can do login before the page. Then users without password cannot proceed and users already logged in can.
Recommended Posts
This topic is 8522 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 accountSign in
Already have an account? Sign in here.
Sign In Now