The answer can be found in cake\libs\view\helpers\form.php.

Line 736: function generateInputDiv($tagName, $prompt, $required =
false, $errorMsg = null, $size = 20, $htmlOptions = null)

If you set the id in the $htmlOptions array, it will be parsed.

I'm using rev 4318 from SVN.
D

On Jan 23, 1:30 pm, "Sankaman2k" <[EMAIL PROTECTED]> wrote:
> I'm using the FormHelper::generateInputDiv to create all of my input
> boxes and of course the surrounding div.
> I now am at the point where I need to explicitly reference one of the
> created DIVS but cannot because they only get assigned the
> class="optional". How can I assign an ID to each div when using
> generateInputDiv?
> 
> Any help would be greatly appreciated.
> 
> Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to