Clinton Posted July 25, 2005 Posted July 25, 2005 I am in the process of replacing the IWP elements of my FileMaker application with some Custom Web Publishing instead, using XSLT. The problem I have is with form submission. For example, if I want a user to be able to create a new record, I would have them fill out an HTML form and click the "Submit" button. Then, based on the information entered into the form, I would construct the URL that gets sent to FileMaker (containing the -new and -script I need, and all the field=data pairs, and finally the new .xsl page i'm directing the user to). This is the part where I have trouble; right now, I have my "Submit" button direct to a PHP page, where I use php to process the form, and build the URL. Then, it simply redirects to the URL it has built. Is there a better way to handle form submission that does not involve PHP, or another scripting language? We would like to use XSLT solely, but I do not know how to gather the information from the HTML form, and build the URL without having PHP in-between. Any help appreciated.
AnFrusch@pepp Posted July 26, 2005 Posted July 26, 2005 Hello, basically this is the easyest way to proceed.. a form submission create the URL + query string so the only thing you have to do is to give each input element the name of the db, layout, field, script and action you want to perform. I.e. Hope this can help you.. one last thing: fm cannot perform a validation of the values, so I suggest you to verify the data before form submission (maybe with javascript). Bye.
Recommended Posts
This topic is 7059 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