{"extended":{"hasExtended":true,"docs":"
<!--- view code --->\n<cfoutput>\n #startFormTag(action="create", spamProtection=true)#\n <!--- your form controls --->\n #endFormTag()#\n</cfoutput>"},"hint":"Builds and returns a string containing the opening form tag. The form's action will be built according to the same rules as URLFor. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.","returntype":"","slug":"startformtag","parameters":[{"default":"post","required":"false","hint":"The type of method to use in the form tag. get and post are the options.","name":"method","type":"string"},{"default":"false","required":"false","hint":"Set to true if the form should be able to upload files.","name":"multipart","type":"boolean"},{"default":"false","required":"false","hint":"Set to true to protect the form against spammers (done with JavaScript).","name":"spamProtection","type":"boolean"},{"default":"","required":"false","hint":"Name of a route that you have configured in config/routes.cfm.","name":"route","type":"string"},{"default":"","required":"false","hint":"Name of the controller to include in the URL.","name":"controller","type":"string"},{"default":"","required":"false","hint":"Name of the action to include in the URL.","name":"action","type":"string"},{"default":"","required":"false","hint":"Key(s) to include in the URL.","name":"key","type":"any"},{"default":"","required":"false","hint":"Any additional parameters to be set in the query string (example: wheels=cool&x=y). Please note that CFWheels uses the & and = characters to split the parameters and encode them properly for you (using URLEncodedFormat() internally). However, if you need to pass in & or = as part of the value, then you need to encode them (and only them), example: a=cats%26dogs%3Dtrouble!&b=1.","name":"params","type":"string"},{"default":"","required":"false","hint":"Sets an anchor name to be appended to the path.","name":"anchor","type":"string"},{"default":"true","required":"false","hint":"If true, returns only the relative URL (no protocol, host name or port).","name":"onlyPath","type":"boolean"},{"default":"","required":"false","hint":"Set this to override the current host.","name":"host","type":"string"},{"default":"","required":"false","hint":"Set this to override the current protocol.","name":"protocol","type":"string"},{"default":"0","required":"false","hint":"Set this to override the current port number.","name":"port","type":"numeric"},{"default":"","required":"false","hint":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","name":"prepend","type":"string"},{"default":"","required":"false","hint":"String to append to the form control. Useful to wrap the form control with HTML tags.","name":"append","type":"string"}],"name":"startFormTag","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}