Beautiful,
Thank you!

On Oct 15, 11:02 am, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> Those tags have all been deprecated. This post should 
> help:http://cake.insertdesignhere.com/posts/view/15
>
> Wayne
>
> On 10/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello Wayne,
> > I appreciate your help but I'm still a little confused.
> > I get the warnings below.
>
> > Warning (512): Method HtmlHelper::formTag does not exist
> > Warning (512): Method HtmlHelper::inputTag does not exist
> > Warning (512): Method HtmlHelper::passwordTag does not exist
> > Warning (512): Method HtmlHelper::submitTag does not exist
>
> > What would the "new replacement tags" be for version1.2?
> > Do you know of any code samples for ver 1.2 dealing with forms, I
> > can't seem to find anything I need in the docs.
>
> > Peter
>
> > On Oct 12, 5:12 pm, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> > > That code was written for Cake v1.1. The formTag method has been
> > > deprecated in v1.2. You'll need to revert to v1.1 or rewrite the code
> > > to use FormHelper directly.
>
> > > Wayne
>
> > > On 10/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > > Does anyone know why I get this warning. And how do I get around it?
> > > > I'm using cake_1.2.0.5427alpha the code comes from IBM's tutorial at:
> > > >https://www6.software.ibm.com/developerworks/education/os-php-cake1/s...
> > > > Their code:
>
> > > > <?php echo $html->formTag('/users/register') ?>
> > > > <p>Please fill out the form below to register an account.</p>
> > > > <label>Username:</label>
> > > > <?php echo $html->inputTag('User/username', array('size' => '40')) ?>
> > > > <?php echo $html->tagErrorMsg('User/username', 'username is
> > > > required') ?>
>
> > > > <label>Password:</label>
> > > > <?php echo $html->passwordTag('User/password', array('size' => '40')) ?
>
> > > > <?php echo $html->tagErrorMsg('User/password', 'password is
> > > > required') ?>
>
> > > > <label>Email Address:</label>
> > > > <?php echo $html->inputTag('User/email', array('size' =>
> > > > '40','maxlength'=>'255')) ?>
> > > > <?php echo $html->tagErrorMsg('User/email', 'email is invalid') ?>
>
> > > > <label>First Name:</label>
> > > > <?php echo $html->inputTag('User/first_name', array('size' => '40')) ?
>
> > > > <?php echo $html->tagErrorMsg('User/first_name', 'first_name is
> > > > required') ?>
>
> > > > <label>Last Name:</label>
> > > > <?php echo $html->inputTag('User/last_name', array('size' => '40')) ?>
> > > > <?php echo $html->tagErrorMsg('User/last_name', 'last_name is
> > > > required') ?>
>
> > > > <?php echo $html->submitTag('register') ?>
> > > > </form>


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