I am trying to add functionality to the farLogin form
(displayLogin.cfm) (5.2.2)  which I have extended to my plugins
folder.

I am able to get a cookie set and have extended to form to include a
boolean check box.

The cookie is set, but I cant seem to figure out how to "prepopulate"
the "username" field with the cookie value.

I have this on.../ farLogin/displayLogin.cfm

...

                <cfif isDefined("cookie.bRememberMe")>
                                   <cfset stMetadata = structnew() />
                   <cfset stMetadata.username.default =
cookie.bRememberMe />
                   <cfset stMetadata.bRememberMe.default = 1 />
                <cfelse>
                   <cfset stMetadata = structnew() />
                </cfif>

                <ft:object typename="farLogin"
lFields="username,password,bRememberMe" prefix="login" legend=""
stPropMetadata="#stMetadata#" />

...


-- 
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

Reply via email to