I do not want any id's exposed in my forms.

When I view the rendered HTML it shows
<form action="/users/update/3" method="post" id="UserUpdateForm">

where 3 is the user.id. I am using unique slugs in the app,can I
change 3 to the user.slug and if so how can I do this?

My form has only this :

<?php echo $form->create(array('type' => 'post','action' =>
'update)); ?>
  <fieldset>
   <p> Select from the options below</p>
    <div class="user_checks">
      <?php
                echo $form->input($model_table, array('multiple'=>'checkbox',
                                                                                
         'label'=>false));
        ?>
    </div>
  </fieldset>

  <?php echo $form->end('Submit');?>

Thanks,

Dave
--~--~---------~--~----~------------~-------~--~----~
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