I have a Login page created with 4 fields and a submit button for an
application i am developing.
Username :
Email address :
Password :
Confirm Password :
i am validating each field. so if the username is missing , when u hit
submit button , there is a notice / warning that flashes on top
So if i just enter Username and hit Submit, it should flash a message
saying that "Email ID is missing " at the same time retaining the
value in the Username field.
But that isnt happening. It just resets the form with the notice
message on top.
How do i make this happen.
Also i am not using Databases. So i have activeRecord Disabled. i am
using an set of external API’s to login / register to this
application
Any help would be Greatly appreciated.