Welcome Guest, Not a member yet? Register   Sign In
Error when adding a datepicker
#1

Hello all!!

Im trying to add a datepicker but came into an error....wanted to see if anyone can can help. Here is the code:

Error:
A PHP Error was encountered

Severity: Notice
Message: Trying to get property of non-object
Filename: register/index.php
Line Number: 29
Backtrace:
File: /home4/cultured/public_html/application/views/register/index.php
Line: 29
Function: _error_handler
File: /home4/cultured/public_html/application/libraries/Template.php
Line: 33
Function: view
File: /home4/cultured/public_html/application/controllers/Register.php
Line: 356
Function: loadContent
File: /home4/cultured/public_html/index.php
Line: 318
Function: require_once
12/31/1969">


Code:
<div class="form-group login-form-area has-feedback">
                    <input type="text" class="form-control" name="username" id="username" placeholder="<?php echo lang("ctn_215") ?>" value="<?php if(isset($username)) echo $username; ?>">
                    <i class="glyphicon glyphicon-user form-control-feedback login-icon-color" id="login-icon-username"></i>
                </div>
                  <div class="form-group" id="relationship_part">
        <label for="inputEmail3" class="col-sm-2 control-label">Birthdate</label>
        <div class="col-sm-10">
          <input type="text" name="birthdate" class="form-control datepicker" value="<?php echo date($this->settings->info->date_format, $this->user->info->birthdate) ?>">
        </div>
             

 Im trying to make the "relationship" form group to resemble the "login" form group but cant get it right. I purchased the script and the seller has been helpful but I haven't heard from them in regards to fixing this code.


Thank ya so very much!!


Heart Heart ,
Mekaboo
Reply


Messages In This Thread
Error when adding a datepicker - by Mekaboo - 02-05-2020, 09:15 AM
RE: Error when adding a datepicker - by zahhar - 02-06-2020, 01:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB