Articles → PHP CODEIGNITER → How To Retain Value In Form Element During Postback In Codeigniter

How To Retain Value In Form Element During Postback In Codeigniter






Example




  1. Textbox
  2. Submit button




Picture showing the view code with form_input element with set_value function

Click to Enlarge





Picture showing how the value is retained on postback

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, August 7, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250