Hello Hackermans,
I have a simple code that hides 'box and loading GIF ’ at the regular page with custom input form, until it is not loaded . When a user fills the form and press the button 'box and loading GIF ’ appears and “loading” to form is not saved. It works excellent.
PROBLEM: when certain form fields are not properly filled, and user press the button, 'box and loading GIF ’ appears anyways and “loading” will continue endlessly .
How can I improve that code in order 'box and loading GIF ’ appears only when content is saved in database.
Thanks a lot.