Errors on top of registration form.
Posted: Tue Apr 12, 2011 9:15 pm
Good day guys/gals,
I just want to kindly ask for suggestions about my form. I want to display the error on the same page where my form is if the user entered an invalid data on the registration form. I created a line of code on another page but logically it will load on the other page once the user clicked submit button. If i include my php code on my form code, it will display the way i want it to be BUT hackers can see my php code so it's not advisable to do it that way, right?
I want to display my errors on top of my form not on the other page once the user submits his data.
Thanks,
iskawt
I just want to kindly ask for suggestions about my form. I want to display the error on the same page where my form is if the user entered an invalid data on the registration form. I created a line of code on another page but logically it will load on the other page once the user clicked submit button. If i include my php code on my form code, it will display the way i want it to be BUT hackers can see my php code so it's not advisable to do it that way, right?
I want to display my errors on top of my form not on the other page once the user submits his data.
Thanks,
iskawt