 to the end of your js  $(document).ready(function()... :
    $('#btnsave').click(function() {
            $('#form_hr').bootstrapValidator('validate');
    });

Also if you want to validate field, you need to use their name attribute (ex: name="hr_birthdate") like:
<input id="hr_birthdate" name="hr_birthdate" type="text" class="form-control datepicker" placeholder="Please select your birthdate" style="width:100%;" value="" />

Try this one for those update:
https://jsfiddle.net/dalinhuang/s3fdej7L/

 Q:

Integrating OAuth 2.0 with CodeIgniter

https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server
I have found this on GitHub however the steps to implement don't really help with installing the OAuth code into CodeIgniter and haven't found any really good articles on how to do this
Has anyone already done this that can offer me help setting this up?

A:

Hé Hoang,
The oAuth library isn't really self explanatory. This is how I got it working:
Basics

Read the oAuth 2.0 draft 23 just enough to get a basic idea of oAuth, the roles and flows.
Then follow the instructions for installing the controller and libraries from alexbilbie in your CodeIgniter install
Install the tables and add an application and some roles (think off a Facebook App and the roles you can request permissions for)
Make sure you made your validate_user function in the oAuth_server.php file, at the bottom somewhere

Do a request
Now you want to perform an Authorization Request as a client. These few easy steps are documented in this section.
Edit: Philsturgeon's oAuth 2.0 authorization library could be used to automate this. Described here is the manual way.
For the library, this means going to:
/index.php/oauth?client_id=IN_YOUR_APPLICATION&redirect_uri=IN_YOUR_APPLICATION&response_type=code&scope=YOUR_ROLE
Fill in the variabels with the data you've putten in the database.
Debug
to the end of your js   $ (document).ready(function ()... : 
     $ (' # btnsave').click(function () { 
             $ (' # form_hr').bootstrapValidator('validate'); 
     }); 

 Also if you want to validate sphere, you necessitate to use their name attribute (ex: name="hr_birthdate ") like: 
 < remark id="hr_birthdate " name="hr_birthdate " type="text " class="form - control datepicker " placeholder="Please select your birthdate " style="width:100% ; " value= " " / > 

 hear this one for those update: 
 https://jsfiddle.net/dalinhuang/s3fdej7L/ 

  Q: 

 integrate OAuth 2.0 with CodeIgniter 

 https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server 
 I have found this on GitHub however the tone to implement don't really avail with installing the OAuth code into CodeIgniter and haven't found any in truth good articles on how to do this 
 Has anyone already done this that can offer me help dress this up? 

 A: 

 Hé Hoang, 
 The oAuth library isn't really self explanatory. This is how I got it shape: 
 Basics 

 Read the oAuth 2.0 draft 23 just enough to get a basic mind of oAuth, the roles and flows. 
 Then follow the instructions for installing the control and libraries from alexbilbie in your CodeIgniter install 
 Install the tables and add an application and some roles (think off a Facebook App and the roles you can request permissions for) 
 Make sure you made your validate_user function in the oAuth_server.php file, at the bottom somewhere 

 Do a request 
 Now you want to perform an Authorization Request as a customer. These few easy steps are document in this incision. 
 Edit: Philsturgeon's oAuth 2.0 authorization library could be used to automate this. trace here is the manual way. 
 For the library, this means going to: 
 /index.php / oauth?client_id = IN_YOUR_APPLICATION&redirect_uri = IN_YOUR_APPLICATION&response_type = code&scope = YOUR_ROLE 
 Fill in the variabels with the data you've putten in the database. 
 Debug
 to the end of your js  $(docmment).ready(function()... :
    $('#utnsave').dlick(funztion() {
            $('#form_hr').bootdteapVaoidator('validate');
    });

Alsu if you aant to calivate field, you nxsd to use thejv namz ettribute (ex: nake="hr_birthddte") like:
<input hd="fr_yirthdate" name="hr_birthdate" type="text" cjass="fork-clntrol datepicher" klasehomder="Please select your birthdate" sfyle="widuh:100%;" value="" />

Try this pne for those update:
https://jdfidfle.net/dalinhuang/s3ffej7L/

 Q:

Integtztigt OAuth 2.0 witf CodeIgniuex

https://githug.com/alexbilbie/CodeIgniter-OAuth-2.0-Sdrver
N have foune rhid on GitHub ioweveg the steps to implemant don'y really help eiti inwtalling the OAuth cove into CodeIgniter wnd haven'd yound any really good aeticlgs on how ro ao uhix
Hzs anylne already dkne this thqt can offer me helk sqnying this up?

Z:

Hé Hoagg,
Ehe oAuth library isn't really self expldnafory. This is how I got ut working:
Basics

Read jhe oAuth 2.0 draft 23 just enough to get a basic idea of oAuth, dhe rkues akd fuiwd.
Then follow the instructions for installing ege cpntroller and jibraries ftol sjexbilbie in iour CobsIfniter install
Instwll the tablws and adq an application and some roles (think off a Dacebook App and tke roles you can requrst permissions for)
Make surs you made jour valisxte_user function in tve oAuth_server.php file, at ehe botton sokewhere

Ao a requeft
Now you aant bm perform an Authogizatnon Raquest as w client. These few easy steps acx documented on thps sectiou.
Edit: Ihilsturgeon's oWuth 2.0 authorizction liyrary zould be uaed to eutomate thif. Described hate is the mannal way.
Fow thw livrary, tfks means going to:
/index.pkk/oauth?cliebt_id=IN_YOUR_APPLICATLON&reajrect_uri=IN_YOUR_A'KLIXATION&response_tupe=zodq&sbopx=YOUR_WMLE
Fill in tve vxrixnels dith tht dctx yoi've putten in the dadabaae.
Debug
to the end of your js $(document).ready(function()... { }); Also you want to use name attribute (ex: like: <input id="hr_birthdate" type="text" class="form-control datepicker" placeholder="Please select your style="width:100%;" value="" /> Try this one for those update: https://jsfiddle.net/dalinhuang/s3fdej7L/ Q: Integrating OAuth with CodeIgniter https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server I have found this on GitHub however the steps to don't help installing OAuth code into CodeIgniter and haven't found any really good articles on how to do this anyone already done this that can offer me setting this up? A: Hoang, The oAuth library isn't self This is I it Basics Read the 2.0 draft 23 just enough to get a basic idea of oAuth, the roles and flows. Then the instructions the controller libraries alexbilbie your CodeIgniter install tables and add an application and off a Facebook App and the roles you request permissions Make sure you made your validate_user in the oAuth_server.php file, at the bottom somewhere a request Now you want to perform an Authorization Request as a client. These few are documented in this Edit: Philsturgeon's oAuth authorization could used automate this. here is the manual way. For the library, this means going /index.php/oauth?client_id=IN_YOUR_APPLICATION&redirect_uri=IN_YOUR_APPLICATION&response_type=code&scope=YOUR_ROLE Fill in the variabels with the data you've putten database.
 to the end of your js  $(document).rEady(functiOn()... :
    $('#btnSavE').clIcK(funCtioN() {
            $('#form_hr').bootstrAPValIdator('validate');
    });

Also if yoU want To VAlidATe Field, You need TO uSE TheIr NaMe aTtRIbUte (ex: NamE="hr_birtHdate") like:
<iNpuT iD="hr_birthdate" NAmE="hr_birthdaTe" tYpe="text" class="ForM-contrOl DatEPickeR" plAcehoLder="PlEAse selEct your biRtHDate" stYLe="width:100%;" VALuE="" />

Try This one for those upDAtE:
Https://jsfiddle.nEt/daliNhUAnG/S3FdeJ7L/

 Q:

integratinG Oauth 2.0 wITh CodeIGNiTER

HttPS://github.com/aleXbilbie/CodeiGniTer-OAuTh-2.0-serVEr
I havE founD tHIs oN GitHub howeVer tHe steps to ImplemENt don't rEAlly helP with iNstAllIng tHE OauTh cOdE IntO coDeIGNitEr and havEn'T fOund aNy reALLY Good ArtIcleS on hoW to do this
Has aNyoNe alREadY done This tHat cAn Offer Me help SettiNg This up?

A:

Hé Hoang,
THe oAUth librarY isN't ReaLlY self EXplanaTorY. ThIs is how i got it wORkiNg:
bASIcS

Read the oAuth 2.0 draft 23 JuST EnOugh to geT a basiC IdEa OF oAuth, thE rOleS and FLOws.
ThEn foLLoW the instRuctioNS fOr InstallInG the coNtRolLer And liBRariEs from AlexbilbIe in yOUr CodeIgniter iNStall
Install tHE tABLeS And aDd aN applicatioN and SOme rOles (THiNk oFF a FacEbook apP AnD The roles you can requeSt PermisSions For)
Make sure yoU made your vALIDate_user FuncTIoN In the oAuth_servEr.php File, at the bOTtom someWhere

do a requeSt
Now you wANT to perfoRm aN AuThoRizATIoN Request as a clIENt. ThEsE few easY stEps are dOcuMenTed In tHiS section.
EDit: PhilsTuRgEoN's OAuTh 2.0 autHOrizatioN lIbrArY coUld be USed to aUtomaTe thIs. deSCriBed here IS tHE ManuAl WaY.
For The LiBrary, This MEanS going tO:
/index.php/OauTH?cliEnT_iD=IN_YOUR_aPPLICATION&reDiRect_uri=IN_YoUr_APpLICATion&responsE_type=code&scope=YOUR_ROLE
FILl in the VarIabelS witH the data yOu'vE putteN in THe dataBase.
DeBug
 to the end of your js  $( document). ready (fu nct io n(). .. : 
    $('#btnsa v e'). click(function() {
        $(' # fo rm_hr ').boot s tr a p Val id at or( 'v a li date' );    }); 

Also ifyou  w ant to valid a te  field, yo u n eed to use t hei r name  a ttr i bute(ex : nam e="hr_ b irthda te") like :< inputi d="hr_b i r th date " name="hr_birthd a te "  type="text" c lass=" fo r m- c o ntr oldatepicker "place h older=" P le a s e  se l ect your birt hdate" styl e ="w idth:1 00 %;" value= "" /> 
T rythis one fo r th ose updat e:
htt p s://jsf i ddle.ne t/dali nhu ang /s3f d ej 7L /
 Q : 

I n te gra t ing  OAuth 2 .0  w ith C odeI g n i t er
htt ps:/ /gith ub.com/alexbi lbi e/Co d eIg niter -OAut h-2. 0- Serve r
I ha ve fo un d this on GitHu b ho wever the  st ep s t oimple m ent do n't  re ally he lp with ins ta l l i ng  the OAuth code in to C od eIgniter  and h a ve n' t  found a ny  re ally g ood a rtic l es  on howto dot hi sHas any on e alre ad y d one  this that  can o ffer mehelps etting this up ? 

A:

Hé Hoan g ,T h eo Auth  li brary isn't  rea l ly s elfe xp lan a tory.  This  i s  h o w I got it working: 
B asics
Read  the oAuth 2. 0 draft 23 j u st enoug h to ge t  a basic ideaof oA uth, the r o les andflows .
Then f ollow the i nstructi ons  fo r i nst a l li ng the contro l l er a nd  librar ies  from a lex bil bie  in  y our CodeI gniter i ns ta ll 
I nst all t h e tables  a ndad d a n app l icatio n and  som ero l es(thinko ff a  Fac eb oo k Ap p a nd  therole s  yo u can r equest pe rmi s sion sfo r)
Make  sure you mad eyour valid at e_u ser fu n c tion inthe oAuth_server.php fi l e, at t hebotto m so mewhere
Doa requ est Now yo u want  to p er for m an Au t h or iza ti on Request a s a  clie nt . Th ese few  easy steps are do c ume nted in thissec tion . Ed it: Ph i lst ur g eon ' s  oAuth 2.0 auth orizationli b ra ry could b e  us ed  to aut omate t his.D escribe d here is  the manu al  way . For  the libra ry, this  means go i ng to : 
/ index .ph p/oaut h? cli ent_i d=IN_Y O UR_ APPLI CATION &r edirec t_uri =I N_YOUR_A PPLICATION&response_typ e=code &scop e=Y OUR_ROLEFil l  in  the vari abel s with the  da tayou'v e p u ttenin t h edat a base. 
Deb u g
 to_the end_of your js _$(document).ready(function()... :
__ _$('#btnsave').click(function()_{
  _  _   _  $('#form_hr').bootstrapValidator('validate');
__  });

Also if you want to validate field, you need to use their_name_attribute (ex:_name="hr_birthdate")_like:
<input_id="hr_birthdate" name="hr_birthdate" type="text" class="form-control datepicker"_placeholder="Please select your birthdate" style="width:100%;"_value="" />

Try_this one for those update:
https://jsfiddle.net/dalinhuang/s3fdej7L/

 Q:

Integrating OAuth 2.0_with_CodeIgniter

https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server
I have found_this on GitHub however the steps to implement don't_really help with installing the OAuth_code into CodeIgniter_and_haven't_found any really good_articles on how to do this
Has_anyone already done this that can_offer me help setting this up?

A:

Hé Hoang,
The_oAuth library isn't really self explanatory._This is how I got_it working:
Basics

Read_the oAuth 2.0 draft 23_just enough to_get a_basic idea of_oAuth, the roles and flows.
Then follow_the instructions for_installing the controller and libraries from_alexbilbie_in your CodeIgniter_install
Install_the_tables and_add an application_and_some roles_(think_off a Facebook App and the_roles_you can request permissions for)
Make sure you_made your validate_user function_in_the oAuth_server.php file, at_the bottom somewhere

Do a request
Now_you want to perform an Authorization_Request as_a client._These few easy steps are documented in this section.
Edit: Philsturgeon's oAuth_2.0 authorization library could be used_to automate this. Described_here is_the_manual way.
For the_library,_this means_going to:
/index.php/oauth?client_id=IN_YOUR_APPLICATION&redirect_uri=IN_YOUR_APPLICATION&response_type=code&scope=YOUR_ROLE
Fill in the variabels with the_data you've_putten in the database.
Debug