July 25, 200124 yr Newbies I have a page that loads data from several databases. It uses InlineAction tags to do this. Now, on the same page, I have fields that can be edited. The fields are from several databases. How can I edit multiple databases with one submit? I am aware their might be a way to do it using InlineAction tags, however I have no clue what the syntax would be. Could someone please help me??? Thanks!! C
July 25, 200124 yr You could try Javascript to submit more than one form. Instead of using input submit types use a button type as such: <form name="myform1" .....>....<input type="hidden" name="-edit"></form> <form name="myform2" .....>....<input type="hidden" name="-edit"></form> <form name="myform3" ....>....<input type="hidden" name="-edit"></form> <input type="button" onclick="subforms();"> In the <head> try this function: <script> function subforms() { document.myform1.submit(); document.myform2.submit(); document.myform3.submit(); } </script> </head> I've never tried this, however it is worth a go! All the best. Garry
July 25, 200124 yr With Lasso it is possible to do this using -Nothing action, form params, variables and inlines, it allows you to create ASP-ish solutons.......i am somewhat supprised that Filemaker haven't included these features in the CDML tag set for the 5.5 upgd as it makes many CDML problems a bit of a no brainer. [ July 25, 2001: Message edited by: scratchmalogicalwax ]
August 3, 200124 yr Author Newbies Thanks, I will try submitting the forms using Javascript. Thanks for all your help! I'll let you know my results! C
August 3, 200124 yr tummah2 did you get the Javascript to work? I've been messing with it for a few hours, and can't get anything to work. Scratch, how much work is involved in moving to lasso? Costs? (I'm running FMP UNILM on a Mac OS 9.1 with WSC on OS X Server/Apache now)
Create an account or sign in to comment