Re: formtools - bSave

AJ Mercer <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAPURtC1LVc7HzSA5Ru8katiBuu0s_0T=8uLfkYav-SmJF0ckEA@mail.gmail.com>
This is the new property I have added - and now deployed.
I was expecting that all existing records would get this field added with a
value of 1
but this is not the case

Is there a was to set default value for existing records?



<cfproperty
    ftSeq="2065"
    ftFieldset="Login Details"      ftWizardStep="Login"
    name="bSendActivatedEmail"
    type="boolean"
    fthint="Send email to client when account is set to Active"
    *ftdefault="1" default="1"** *
    required="no"
ftLabel="Send Client Activated Email"
ftType="boolean" /> <!--- bSave="0" --->


On 22 February 2013 10:48, AJ Mercer <[email protected]> wrote:

> If on my type I have a property and have attribute
>     bSave="0"
> Should that not create a field in the database?
>
> Farcry want to deploy it.
>
> Is there a way to have a property show up on the form, but not in the
> database?
>
> In my BeforeSave() I want to check the value of the property that will be
> used to determine if stuff happens (send an email)
> --
>
> *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/>
>



-- 

*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: 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
--- 
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 farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
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.