06-25-2018, 03:48 PM
Hello guys. I am having some trouble with my custom registration form. I added some additional fields to the database and made changes to the additional_join_form_field and the during_user_creation files like so:
(additional_join_form_field.php)
<label for="street">Street*</label>
<input type="text" class="form-control input-sm" id="street" name="street" placeholder="Street" value="<?php if (!$form_valid
&& !empty($_POST)){ echo $street;} ?>" required autofocus>
=========================================================================
(during_user_creation.php)
$db->update(‘users’,$theNewId,[‘street’ =>Input::get('street']);
None of the additional fields I added were posted to the database.
(additional_join_form_field.php)
<label for="street">Street*</label>
<input type="text" class="form-control input-sm" id="street" name="street" placeholder="Street" value="<?php if (!$form_valid
&& !empty($_POST)){ echo $street;} ?>" required autofocus>
=========================================================================
(during_user_creation.php)
$db->update(‘users’,$theNewId,[‘street’ =>Input::get('street']);
None of the additional fields I added were posted to the database.