« Return to Thread: Adding form elements to form tools

Re: Adding form elements to form tools

by Blair McKenzie-2 :: Rate this Message:

Reply to Author | View in Thread

There isn't at the moment, but I agree that there should be. What you have to do at the moment is copy the source html for one of the other formtools and wrap it around your own elements.

Blair

On Tue, May 6, 2008 at 7:04 PM, Gavin Stewart <gavin.stewrat@...> wrote:

Hello there,

Can anyone please tell me if it is possible to add your own form
elements to form tools and have them render with all the other form
elements. Here is an example of what i am trying to do.

<ft:form>
       <ft:object  stObject="#stCustomer#" typename="Customer" format="edit"
lfields="title,firstName,lastName,emailAddress,phoneNumber"
intable="false" includefieldset="true" legend="Your Details"/>
       <ft:object stObject="#stBillingAddress#" typename="Address"
format="edit"
lfields="postcode,houseName,houseNumber,flatNumber,street,city,county"
intable="false" includefieldset="true" legend="Billing Address">
       <cfoutput>
               <div class="fieldAlign">
                       <input type="checkbox" name="bDelivery" class="formCheckbox "
id="bDelivery"/>
               </div>
               <br class="clearer" />
       </cfoutput>
       </ft:object>
       <ft:object stObject="#stDeliveryAddress#" typename="Address"
format="edit"
lfields="postcode,houseName,houseNumber,flatNumber,street,city,county"
intable="false" includefieldset="true" legend="Delivery Address"/>
       <ft:farcrybutton value="Cancel" />
       <ft:farcrybutton value="Next" />
</ft:form>


The problem here is that bDelivery doea not render nicely like all the
other form elements.

Thank you for any help in advance



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to farcry-dev@...
To unsubscribe from this group, send email to farcry-dev-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Adding form elements to form tools