Re: How to fire a selectbox directly to the correct form?

kayde <ahammenhws-gM/[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
I have solved this.

If someone need to do the same:

                        <select name="client" 
onchange="btnSubmit('clientselect', 'Select');">
                            <option value="">Please select</option>
                            <cfloop from="1" 
to="#ArrayLen(stlocal.clients)#" index="i">
                              <cfset stlocal.client = 
application.fapi.getContentObject(objectid="#stlocal.clients[i]#", 
typename="client") />
                              <option 
value="#stlocal.client.objectid#">#stlocal.client.label#</option>
                            </cfloop>
                        </select>

Cheers Kay

Am Montag, 29. Oktober 2012 17:40:18 UTC+1 schrieb kayde:
>
> Hi there,
>
> I have a selectbox which should be fired to the assigned ft-form element.
>
> Here is my code:
> http://pastebin.com/cK2B2Afh
>
> How do I need to change line 47 so that the form gets fired and also the 
> action="Select" for the ft:processform will be reached.
>
> Thanks for your help
> Kay
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.