onecolor Posted December 5, 2002 Posted December 5, 2002 Is it possible that when a user hits the submit button, the data can be updated to two files or more. here's my calls right now: <INPUT TYPE="hidden" NAME="-DB" VALUE="DieBeta.fp5"> [in this area could I add another file to update to?] <INPUT TYPE="hidden" NAME="-LAY" VALUE="MainLayout"> [in this area, both files will have the same layout name] Thanks for any advice Paul
Garry Claridge Posted December 5, 2002 Posted December 5, 2002 You can either use two forms and some Javascript to submit the forms, or use a Script in one of the files to update the other file. All the best. Garry
onecolor Posted December 5, 2002 Author Posted December 5, 2002 that's what i thought. what other script is there beside the "import script. Is there a way to have File A and File B, when a file is submitted to File A, it will automatically add that record to File B. I've been searching this site all day for some type of hint. Do you have any thoughts? Paul
Garry Claridge Posted December 5, 2002 Posted December 5, 2002 You can create a Script with Scriptmaker and call it with your Form. For example: <INPUT TYPE="hidden" NAME="-DB" VALUE="DieBeta.fp5"> <INPUT TYPE="hidden" NAME="-LAY" VALUE="MainLayout"> <input type="hidden" name="-script" value="mydupscript"> You will find some more information on this in the "CDML Reference" Database. All the best. Garry
Garry Claridge Posted December 5, 2002 Posted December 5, 2002 Another solution exists in the thread: "I'm back with more complicated stuff" by Addam Garry
Recommended Posts
This topic is 8093 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