I have 7 forms with different information to be stored in different tables.
User can choose any one form at a time. How to allow user to choose one form at a time and store those values in Mysql tables using?
vizz
0
Junior Poster
Recommended Answers
Jump to PostYou need to clarify the information and your question. You say that the user can choose one form at a time. Does this mean that the user can choose to complete just one form or that he is required to complete more than one / all of them? Your question …
Jump to PostYou want a wizard / step-by-step form?
Should it be ajax or vanilla php?
Jump to PostI am not sure whether I understand your question but let me try.
Enclose each of your forms with a div that has a CSS display property set to none like this:
<div id="form1" style="display:none;"> <form> ... ... </form> </div> <div id="form2" style="display:none;"> <form> ... ... …
Jump to Postmake forms variables and ech time link is clicked echo the necessary variable!
Jump to PostWhich solution did you implement? Was it the javascript one or the one with forms as variables?
All 19 Replies
chrishea
182
Nearly a Posting Virtuoso
vizz
0
Junior Poster
diafol
broj1
356
Humble servant
Featured Poster
Stefano Mtangoo
455
Senior Poster
vizz
0
Junior Poster
broj1
356
Humble servant
Featured Poster
broj1
356
Humble servant
Featured Poster
vizz
0
Junior Poster
Stefano Mtangoo
455
Senior Poster
broj1
356
Humble servant
Featured Poster
broj1
356
Humble servant
Featured Poster
TySkby
41
Junior Poster
vizz
0
Junior Poster
diafol
Stefano Mtangoo
455
Senior Poster
vizz
0
Junior Poster
diafol
broj1
356
Humble servant
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.