August 3, 200520 yr Newbies 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
August 3, 200520 yr 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.
August 4, 200520 yr Author Newbies 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
August 4, 200520 yr 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, 200520 yr by Guest
August 4, 200520 yr Author Newbies This helped, thank you very much, I would have been trying to work this out for days. Cheers Aaron
Create an account or sign in to comment