Now that we have our form elements grouped together, lets complete the form by adding the opening and closing form tags.
Now our form is active and can be submitteed. We will also add code to dump the form struct when our page loads, you can see the full code below.
<cfoutput> <cftry> <cfdump var="#form#"> <cimblog:cimblog STATE="ACTIVE"> <form method="POST"> <hcspdf:CIMBlogUtilityContainer STATE="ACTIVE" LABEL="THIS IS A CONTAINER"> <cimblog:CIMBlogUITextAreaElement STATE="ACTIVE" ELEMENT_NAME="FILE_CONTENTS" ELEMENT_VALUE="FILE_CONTENTS" CLASS="blog-textarea file-contents" HINT="THIS CONTAINS ALL THE TEXT PUT TOGETHER"> DUMMY_TEXT_AREA_TEXT </cimblog:CIMBlogUITextAreaElement> <cimblog:CIMBlogUIInputSubmit STATE="ACTIVE" ELEMENT_NAME="SUBMIT_PRODUCTION_FORM" ELEMENT_VALUE="SUBMIT"> </hcspdf:CIMBlogUtilityContainer> </form> </cimblog:cimblog> <cfcatch type="any"></cfcatch> </cftry> </cfoutput>