Hi all - I'm having difficulty with the processing of 3 forms on my web page. We'll call my 3 forms A, B, and C.
By default my page shows form A. The other 2 forms I have hidden via display:none
My issue is when I have form B or C showing. Once I hit submit, say within form B for example, I'd like this form to remain for future entries/submital of data. However, instead what happens is form A appears. How do I get form B to remain, allowing for a user to submit multiple entries of data without going back to form A?
If you're reloading the page (i.e. not using ajax), you could send a variable stating which form was submitted. On the page load, check the value and hide the other forms accordingly (either with PHP or javascript).
djh101 - I used the code you provided, but for some reason when I access my web page, the form is hidden. I tried a modifying a number of things, but still get a page with no form when I first open the page....somehow the display: none is overriding everything....maybe I don't have this coded right?