Welcome Guest, Not a member yet? Register   Sign In
Cloned Fields and Display Errors
#1

[eluser]Unknown[/eluser]
I have a code to clone a div with 3 fields ( address, city and state ). When I submit the form, the user is redirected to a review info page. So a put a button saying "edit info" before I actually send the information, and I use the javascript "history.back" on this buttom to go back 1 history. But when I click on it, I just get the inital div but not the others cloned into the form. And when I send blank, when the form_validation show the errors my cloned inputs are gone and the validation only shows on the original fields.

How can I keep this cloned fields ?
How can I put the validation on this cloned fields ?

Sorry for my bad English, I am from Brazil.




Theme © iAndrew 2016 - Forum software by © MyBB