Keep input field values when form fails working with Javascript


0 votes
asked Mar 15, 2016 by vg_You (660 points)
I hope you can help me. I have pretty basic form that uses php to send email and do basic validation.

5 Answers

0 votes
answered Mar 26, 2016 by Ceb6077 (310 points)

All the value remained in the form fields.
commented Mar 27, 2016 by zunigaTo (520 points)
There is nothing built in that will allow this. Found solution from here
0 votes
answered May 4, 2016 by gb2971 (180 points)

Log InHow to keep image input on if other validation fails.
commented May 5, 2016 by spotorno (140 points)
We have exactly this problem. You also train other guy by using first guy strength
0 votes
answered May 13, 2016 by svafine (140 points)
Also encountered this issue
I also tried this http://php.bigresource.com/Keeping-values-in-form-inputs-after-validation--oSi56orI.html and that worked even worse
commented May 15, 2016 by kamelThought (1,800 points)
This video explains node. Footer will not go upwards
0 votes
answered May 13, 2016 by Steal_4888 (570 points)
I'm using the very useful http://eloquentjavascript.net/18_forms.html package
0 votes
answered May 25, 2016 by Ptaszynski (650 points)
Found this workaround. You may also want to read this http://www.cs.tut.fi/~jkorpela/forms/file.html

Related questions


What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...