« Return to Thread: type BeforeSave()
Hi AJ,
What are you using to render the form fields... Is it a farcry generated form or are you writing it yourself?
FarCry checkboxes and radios handle this situation.
--
-- Matthew Bryant
Product Development Manager
Daemon Internet Consultants
Adobe Solutions Partner
http://www.daemon.com.au/
p. 02 8302 4600
f. 02 9380 4204
On Wed, Oct 28, 2009 at 5:00 PM, AJ Mercer <ajmercer@...> wrote:after a form submit to update a type in webtype, if a type property does not have a corresponding FORM field, it appears that Farcry drops in the previous value - somewhere before beforeSave() is fired.
The situation I have is with checkboxes - if none are checked, there is no form field (same for radiobutton).
I need to be able to update the property to blank if no check boxes are checked - not leave it in it's previous state.
So, normally I add cfparam for these sort of form fields
Where would I need to add this in Farcry?
Or is there another way of handling this situation?
--
AJ Mercer
Web Log: http://webonix.net
« Return to Thread: type BeforeSave()
| Free embeddable forum powered by Nabble | Forum Help |