Need help...

Permalink Browser Info Environment
Just bought this and need to get a custom template. I would like to simply embed the block in the template, using:

<?php 
 $bt_main = BlockType::getByHandle('extended_form'); 
 $bt_main->render('templates/custom.php'); 
?>


What other controller items can I put in there, and how do I get a template to work, adequately? I have a customized form (layout) that I need to integrate. Here is how I would like the form to be output:

<form name="form" enctype="multipart/form-data" id="extendedFormSurveyView73" class="extendedFormSurveyView" method="post" action="/index.php?cID=1&amp;bID=73&amp;arHandle=Main&ccm_token=1272018811:3566c00d2fb9300b5b3868a1cc271d36&amp;btask=passthru&method=submit_form" style="z-index: 9999;">
            <input name="qsID" type="hidden" value="1272018484" /> 
            <input name="pURI" type="hidden" value="/index.php?cID=1" /> 
               <input name="Question1" id="name-field" name="name" title="Name" type="text" value="" tabindex="1" class="required" />
               <input name="Question2" id="email" type="text" name="email" title="Email Address" value="" tabindex="2" class="required" />
               <input name="Question3" title="Phone Number" id="phone" type="text" value="" tabindex="3" class="required" />
               <fieldset>
               <legend align="center">and</legend>
               <label>Cell Tower Property Location</label>
               <div class="clearThis"> </div>
                  <input name="Question5" id="address" type="text" value="" tabindex="4" title="Address" class="pad" />
                  <input name="Question6" title="City" id="city" type="text" value="" tabindex="5" />
                  <input name="Question7" title="State" id="state" type="text" value="" tabindex="6" class="half" />
                  <input name="Question8" title="Zip Code" id="zip" type="text" value="" tabindex="7" class="half2" />
               </fieldset>


You can see the (nonfunctioning) version here:
70.32.116.104/index.php

Thanks!

Type: Discussion
Status: New
dihakz
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi,

It isn't so simple to change the complete template of the form.
My advise is to create a single page which uses the helper form. With this you can change the form as you like and you can use the helper to mail or save your form.

Regards,

Corretje

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.