set_value from $_POST array, No Validation |
[eluser]glasses092[/eluser]
Hey guys, I am trying to set to get my form to re-populate after I click the submit button. I am not using the validation library. Basically, what I want to happen is that there is a default value in the 'name' textbox when the page is loaded first, then when a user enters a new value in the textbox and submits the form, this value is remembered... Does anyone have any ideas? Code: function test_validation() { Thanks, Martin
[eluser]TheFuzzy0ne[/eluser]
set_value() is usually used in a view, and it accepts two parameters. The field name, and the default value, not a key and a value.
|
Welcome Guest, Not a member yet? Register Sign In |