Normally I'd point you to the appropriate place in the manual but
since it's a little FUBARd at the moment, I'll provide you with some
insight:

You'll want to use the specific input type for your field instead of
relying on the input method.

For example:

Label http://<?php echo $form->text('domain'); ?>.xyz.com

Likewise, for your other one, you'd either be using a table or CSS to
create the "two column" look but the code for two separate address
fields (and I'm assuming you're storing them separately in the
database) might be like so:

<label for="ProfileAddress1">Address</label>
<?php echo $form->text('address1'); ?><br>
<?php echo $form->text('address2'); ?>

Enjoy.

On Fri, Jul 18, 2008 at 6:46 AM, RJ <[EMAIL PROTECTED]> wrote:
>
> I have the following issues regarding the html layout:
>
> 1.) How to generate a text input box like:
>
>       Label         http://[      textbox       ].xyz.com
>
> with direct html , the above is possible but i don't know how to get
> the text-box value  in controller file as it will not be in $data
> array.
> So is there any way that i can generate the above in cakephp(i.e using
> Form helper)
>
> 2.) For address field , i need to have two input box like,
>
> Address    [       line1      ]
>                [       line2      ]
>
> How to achieve this ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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