Publisher review:Quick Query - Insert - Fast and easy way to add data to a Database. Fast and easy way to add data to a Database.Be sure to replace "xxx" with the appropriate values. Then simply name your form field to match that within your database and you're all set. For example if you are storing the visitor's name into a field called vName in your DB, then name the form field vName. The snippet will only run if a form has already been submitted.Note: "form.fieldnames" is an array of the form fields. It is created by CF automatically when a form is submitted. Therefore checking for this will let the server know whether or not a form has been submitted. You shouldn't need to change the if statement unless you want to submit more than one form to the same page and do different things with each submittal. Then you would need to check that a specific field has been submitted. For example you can check for a button with a value of submit by using
Quick Query - Insert is a HTML script for Internet, Browsers and Tools scripts design by Bryan Ashcraft.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux