Thanks for the help Matthew, its really helping me get my head around it.
So i iterate over the array and Im getting the messages as needed.
my final issue
I have a select item that i create in Controller and populate it
dynamically. i then add it to my _campaignCreateForm. but when i run the
Fantastic..That worked..thank you Matthew.
my final struggle is this
foreach ($this-_campaignCreateForm-getMessages() as $message)
{
$this-flash((Invalid Data: $message\n), 'error',
'/advertiser/create-campaign');
}
returns the flash
-- Bob O b...@electricgraffitti.com wrote
(on Monday, 16 February 2009, 12:49 PM -0800):
Fantastic..That worked..thank you Matthew.
my final struggle is this
foreach ($this-_campaignCreateForm-getMessages() as $message)
{
$this-flash((Invalid Data:
-- Bob O b...@electricgraffitti.com wrote
(on Saturday, 14 February 2009, 05:54 PM -0800):
If anyone could point me in a good direction that would be great
Im trying to get this form to validate
snip - INI and view code
this is my Controller code -
$config = new
If anyone could point me in a good direction that would be great
Im trying to get this form to validate
here is my ini -
; Name Field
advertiser.campaignCreate.elements.name.type = text
advertiser.campaignCreate.elements.name.options.label = Name: