May 20, 200520 yr I am stumped on this one. A very simple solution. I just want to be able to add new records to a very simple database. I have attached the XSL Templates. Why can I NOT add new records. Everything 'seems' to work, except no new records are added. I have set the Accounts and Privileges for the Guest account to [Data Entry Only], which should allow Guest to Create New Records. volunteers.zip
May 20, 200520 yr Author At first, there was an error message trying to go to browserecord.xsl (because there wasn't one, and I don't know why Filemaker Site Assistant created the xsl templates with that in there). I changed the line to go back to home.xsl, which it does now when Submitting the record. Just that no record is created on the server. Permissions are rw-rw---- I can create records using the FileMaker Pro Client logged in as Guest.
May 20, 200520 yr Author Well, I just made a browserecord.xsl template, and had the Addrecord.xsl go to it on "action", and now the record is getting added. I don't know why, since I really don't understand this stuff (just know how to solve my problems). Anyway, I then added a redirect on the browserecord.xsl page to go back to home.xsl after 5 seconds. Wouldn't mind knowing what I would need to do with addrecord.xsl to get it to actually add a new record and go back to home.xsl without having to display the record with a browserecord.xsl though.
May 21, 200520 yr Now I see it! It's because you have this processing instruction in your home.xsl: <?xslt-cwp-query params="-grammar=fmresultset&-encoding=UTF-8&-process"?> It overrides all your previous form submission parameters. See also there Martin
Create an account or sign in to comment