Newbies azzadazzler Posted August 3, 2005 Newbies Posted August 3, 2005 Hi I'm new to FMPro7 and have designed a fill in form for my webpage. I have come across two problems. The first problem is that information imputted previously is shown when a new guest logs in. I want the the fill in form to be new and blank. The second problem is that I want to hide the status area and make sure it can't be opened by Guest Users. I have created a script to do this but I am unsure if it is working. the database is at http://db.ican.org.au:591 and is called E-News List. If anyone can help me it would be greatly appreciated. Cheers Aaron
Reed Posted August 3, 2005 Posted August 3, 2005 The best way to have a blank form, without creating a new blank record on startup is to use global fields for the form, and then have a submit button which calls a script creating the new record with the values in the globals. Since globals are session specific, they won't carry over into the next user's session (you can however, set default values for the globals in single user mode.) You can hide the status area in a startup script, and you can choose the "lock" option to disallow manual opening of the status area.
Newbies azzadazzler Posted August 4, 2005 Author Newbies Posted August 4, 2005 please excuse my ignorance, but how do I set a Start Up script. I ticked lock on the hide script but it still has the arrow that can open it when I access the form from a remote location. Cheers Aaron
Reed Posted August 4, 2005 Posted August 4, 2005 (edited) Every file (in the file options) has the option of running a script when the file is first opened. You can place a step in this script that runs the hide status area (lock) script step. You can do it specifically for web users like this: If[PatternCount(Get(ApplicationVersion);"Web")] Hide Status Area (Lock) End If Edited August 4, 2005 by Guest
Newbies azzadazzler Posted August 4, 2005 Author Newbies Posted August 4, 2005 This helped, thank you very much, I would have been trying to work this out for days. Cheers Aaron
Recommended Posts
This topic is 7319 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