I am doing a college project, which is College admission form, the work is going good but the condition is before submitting the form how to preview that form for user(students), please help me
I have tried js but couldn’t do it
I am doing a college project, which is College admission form, the work is going good but the condition is before submitting the form how to preview that form for user(students), please help me
I have tried js but couldn’t do it
2
Answers
If you want a preview of the form . You need to create a new component which contains all the results from the form before adding it to database.
Adding this for my first comment. This is a very basic example of what I was talking about:
The form itself has no submit button but a button that opens a modal for data preview. The preview modal contains an input type submit button which submits the actual form from outside when clicked. You can check the console log to see when the form is submitted.
Maybe this will help you as a starting point.