- for the form use <ft:form> and </ft:form>
- in between use html formatted form elements like <select><option>
etc
- use the <ft:button value="xls" size="small" /> code to set buttons
- use <ft:processform action="xls"> code </ft:processform> to
generate code (here action is xls so that is triggered when the button
with the action="xls" parameter is clicked)
Example:
The form:
<ft:form>
<tr>
<td><select name="polling">
<cfloop query="dropdown" startrow="1"
endrow="#application['wsoFarcryPolling' & pollingid]#">
<option value="#dropdown.ObjectID#"<cfif
#dropdown.ObjectID# EQ #application.wsoFarcryPolling_stats_objectid#>
selected="selected"</cfif>>#dropdown.question#</option>
</cfloop>
</select></td>
<td align="left">
<ft:button value="Select" size="small" />
<ft:button value="Edit" size="small" />
<ft:button value="xls" size="small" />
</td>
</tr>
</ft:form>
<ft:processform action="xls">
code to generate (in this case) an xls file
</ft:processform>
On Nov 6, 11:32 pm, coldbama <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Can anyone tell me how to create FORM in Farcry 5.
>
> Thanks in advance.
>
> TD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---