I have been using Farcry FormTools (packages/forms)

If you want to customise the HTML for a form field
you can use r_stFields attribute to get a struct of all the data you need
to build it and still be able to use FormTool validation and processing.

eg

<ft:object r_stFields="stTFNform" key="clientTFN02#acc#"
typename="formClientTaxFileNumbers" lFields="tfnOption1,TFN1"
stPropMetadata="#stPropMetadata#" />

<cfoutput>
<div  CLASS="ctrlHolder inlineLabels <cfif
stTFNform['TFN1']['ERRORMESSAGE'] NEQ "">error</cfif>">
<cfif stTFNform['TFN1']['ERRORMESSAGE'] NEQ ""><p class="errorField"
>#stTFNform['TFN1']['ERRORMESSAGE']#</p></cfif>
<strong>Entity 1 </strong>
<select id="#stTFNform['tfnOption1']['FORMFIELDNAME']#"
name="#stTFNform['tfnOption1']['FORMFIELDNAME']#" class="" style="">
<option value="">Select Option</option>
<cfloop list="#stTFNform['tfnOption1']['FTLIST']#" index="FTLIST">
<option value="#ListFirst(FTLIST, ':')#" <cfif
stTFNform['tfnOption1']['VALUE'] EQ ListFirst(FTLIST,
':')>selected="selected"</cfif>>#ListLast(FTLIST, ':')#</option>
</cfloop>
</select>
 <strong>Tax File Number </strong><input type="text"
name="#stTFNform['TFN1']['FORMFIELDNAME']#"
id="#stTFNform['TFN1']['FORMFIELDNAME']#"
value="#stTFNform['TFN1']['VALUE']#" class="" style="" />
</div>
</cfoutput>


You can use the awesome Farcry Builder to help you design the form
    http://builder.farcrycore.org/



On 21 February 2013 02:44, Might Aswell <[email protected]> wrote:

> Curious how you experts handled sophisticated forms... custom jquery
> validation, dynamic related select boxes, ajax populated fields etc.. do
> you build this out and use then deploy as an includeObj?
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to