Welcome Guest, Not a member yet? Register   Sign In
On page refresh clear form values
#1

[eluser]Unknown[/eluser]
Input fields of my form don't change on page refresh if I type something in them and then refresh the page. They only change if I manualy click the URL bar or restart the browser. This is becoming a nuisance as I need to populate form with new values on each refresh. And values change on ajax request. Not on form submit.

In short, how do I prevent Codeigniter from remembering values and instead display values from database on each page refresh.

Code:
<input name="uatitle" value="<?php echo $value->acontentdetail->title; ?>">

On refresh I would like to display data from my controller not the data I just typed in.


Messages In This Thread
On page refresh clear form values - by El Forum - 10-09-2014, 02:23 AM
On page refresh clear form values - by El Forum - 10-09-2014, 10:45 PM
On page refresh clear form values - by El Forum - 10-09-2014, 11:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB