Hey thanks for the help!  I'm having troubles getting it into the form
now though...

I've always had hidden values like ID and stuff that I wanted to place
as a hidden object in a form.  This is what I have... tried several
other configurations to no avail, like putting pr($this-
>passedArgs['surveyid']) directly in the form for the value.

<div class="questions form">
<?php $surveyid = pr($this->passedArgs['surveyid']); ?>
<?php echo $form->create('Question');?>
        <fieldset>
                <legend><?php __('Add Question');?></legend>
        <?php
                echo $form->input('survey_id', array('type'=>'hidden', 'value'=>
'$surveyid' ));
                echo $form->input('question');
        ?>
        </fieldset>
<?php echo $form->end('Submit');?>
</div>


On Oct 22, 2:50 am, Gwoo <[EMAIL PROTECTED]> wrote:
> $this->passedArgs is available in the view. just pr($this->passedArgs)
> and see what you get.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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