This is the script

<?php echo $form-
>create("User",array('controller'=>'users','action'=>'register'));?>
                                <div id="ui-formular-error"></div>
                                <label>First Name <span>*</span></label>
                                <?php echo $form->input('User.first_name',
array('label'=>false,'class'=>'inputbox'));?>
                                <label>Last Name <span>*</span></label>
                                <?php echo $form->input('User.last_name',
array('label'=>false,'class'=>'inputbox'));?>
                                <label>Email <span>*</span></label>
                                <?php echo $form->input('User.email',
array('label'=>false,'class'=>'inputbox'));?>
                                <label>Password <span>*</span></label>
                                <?php echo $form->input('User.password',
array('label'=>false,'div'=>false,'class'=>'inputbox'));?>
                                <label>Confirm Password <span>*</span></label>
                                <div class="input text required">
                                <input class='inputbox' type="password" 
id="password2"
name="password2" />
                                </div>

                                <?php echo $form->input('User.group_id',
array('label'=>false,'type'=>'hidden','value'=>$type));?>

                                <label>Keywords<span>*</span></label>
                                <?php echo $form->input('Profile.keywords',
array('label'=>false,'div'=>'false','class'=>'inputbox'))?>

                                <label>Terms<span>*</span></label>
                                <?php echo $form->input('User.terms',
array('div'=>false,'label'=>false));?>
                                I accept the terms applied by SocialBidz

                                <p class="right"><input type="submit" 
value="Register"
id="submitBtn3" />

                                </p>

                                <p>Field with <span class='red'>*</span> are 
required</p>
                        <?php echo $form->end();?></div>

this is the output

<div class="box">

                        <fieldset style="display: none;"><input type="hidden" 
value="POST"
name="_method"></fieldset>                              <div 
id="ui-formular-error"></div>
                                <label>First Name <span>*</span></label>
                                <div class="input text required"><input 
type="text"
id="UserFirstName" value="" maxlength="50" class="inputbox"
name="data[User][first_name]"></div>                            <label>Last 
Name <span>*</
span></label>
                                <div class="input text required"><input 
type="text"
id="UserLastName" value="" maxlength="50" class="inputbox"
name="data[User][last_name]"></div>                             <label>Email 
<span>*</span></
label>
                                <div class="input text"><input type="text" 
id="UserEmail" value=""
maxlength="100" class="inputbox" name="data[User][email]"></div>
<label>Password <span>*</span></label>
                                <input type="password" id="UserPassword" 
value="" class="inputbox"
name="data[User][password]">                            <label>Confirm Password 
<span>*</
span></label>
                                <div class="input text required">
                                <input type="password" name="password2" 
id="password2"
class="inputbox">
                                </div>

                                <input type="hidden" id="UserGroupId" value="" 
name="data[User]
[group_id]">
                                <label>Keywords<span>*</span></label>
                                <div class="false"><textarea 
id="ProfileKeywords" class="inputbox"
rows="6" cols="30" name="data[Profile][keywords]"></textarea></
div>
                                <label>Terms<span>*</span></label>
                                <input type="hidden" value="0" id="UserTerms_" 
name="data[User]
[terms]"><input type="checkbox" id="UserTerms" value="1"
name="data[User][terms]">                               I accept the terms 
applied by SocialBidz

                                <p>



                                <p class="right"><input type="submit" 
id="submitBtn3"
value="Register">

                                </p>

                                <p>Field with <span class="red">*</span> are 
required</p>
                        </div>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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