Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form id="formRegister" name="formRegister" method="post" action="../users/register">
- <h1>Sign-up form</h1>
- <p>* required field.</p>
- <label>First Name
- <span class="small">Add your name</span>
- </label>
- <input type="text" name="data[Person][first_name]" id="firstName" />
- <label>Last Name
- <span class="small">Add your last name</span>
- </label>
- <input type="text" name="data[Person][last_name]" id="lastName" />
- <label>Email
- <span class="small">Add a valid address</span>
- </label>
- <input type="text" name="data[User][email]" id="email" />
- <label>Confirm Email
- <span class="small">confirm email address</span>
- </label>
- <input type="text" name="emailConfirm" id="emailConfirm" />
- <label>Password
- <span class="small">Min. size 6 chars</span>
- </label>
- <input type="password" name="data[User][password]" id="password" />
- <label>Confirm Password
- <span class="small">Min. size 6 chars</span>
- </label>
- <input type="password" name="passwordConfirm" id="passwordConfirm" />
- <label>Address 1
- <span class="small">Add a valid address</span>
- </label>
- <input type="text" name="data[ContactInformationAddress][address1]" id="address1" />
- <label>Address 2
- <span class="small">Add a valid address</span>
- </label>
- <input type="text" name="data[ContactInformationAddress][address2]" id="address2" />
- <label>City
- <span class="small">Add a valid city</span>
- </label>
- <input type="text" name="data[ContactInformationAddress][city]" id="city" />
- <label>State
- <span class="small">Add a valid state code</span>
- </label>
- <input type="text" name="data[ContactInformationAddress][state_code]" id="state" />
- <label>Zip code
- <span class="small">5 digits zip</span>
- </label>
- <input type="text" name="data[ContactInformationAddress][zipcode]" id="zip" />
- <button type="submit">Sign-up</button>
- <div class="spacer"></div>
- <br/>
- </form>
- : INSERT INTO `contact_information_addresses` (`address1`, `address2`, `city`, `state_code`, `zipcode`, `last_revised_date`, `last_revised_user`) VALUES ('6aaa', '6aa', '6aa', 6, '688890', '6011-12-11 23:22:24', 1)
- var $belongsTo = array(
- 'Person' => array(
- 'className' => 'Person',
- 'foreignKey' => 'person_id',
- 'conditions' => '',
- 'fields' => '',
- 'order' => ''
- ),
- 'StateCode' => array(
- 'className' => 'Code',
- 'foreignKey' => 'state_code',
- 'conditions' => '',
- 'fields' => '',
- 'order' => ''
- ),
- 'CountryCode' => array(
- 'className' => 'Code',
- 'foreignKey' => 'country_code',
- 'conditions' => '',
- 'fields' => '',
- 'order' => ''
- )
Add Comment
Please, Sign In to add comment