Please find a link to the form below. I'm trying to set it up using Bootstrap 4 nav tabs so that what is actually a very long form is more digestible - it being split into 5 sections (Steps 1-5) using the Bootstrap tabs. However, the form is entirely on one page.
I'm running into problems because of the following...
1) When a user completes Step 1 (the first form on the first tab), I am saving to database because the client wants the user to automatically receive login details so that should they only part complete the form, they can later return to it (it being saved and available in a user/pass protected area).
2) Once a user progresses past Step 1, I would prevent them from submitting Step 1 again, in this session, based on whether or not there was an instance of a newID session (created in the MySQLi Insert behaviour).
3) So, Step 1 is validating (healthscreeningform_984) and submitting to database correctly. I have not implemented it yet, but I will be doing an insert to multiple tables at this stage - Customer, Order and Order Detail
4) At this stage it progresses you to Step 2 which I have only set up one validation on so far (GP's Name). It is this validation (healthscreeningform_783) that's not working.
As well as setting up validation on the forms within each Step I also need, at the end of each step, to run an UPDATE behaviour on the Order Detail table (basically the entire form data from Steps 2-5).
Hope that makes sense. If you feel there is an easier way to approach this, I'm all ears btw!
Thank you Ray.
PS. Are you back from sailing?