1
I’m using Django and I have to implement the following flow:
The user fills in the information of a new exam, clicks on attach an old exam, goes to the exam search screen, selects the desired exam and needs to return to the new exam registration page (with the information that had already completed).
I’ve done the redirect link part, but how can I:
1) Keep the registration page data filled when redirecting to others. I searched for a django cache framework, but I don’t know if that’s right.
2) Pass the selected exam id to the other page.
I’m not going to add code because it’s more of a conceptual issue, so if you can pass me any example of something like this, or some term that I can search for, it helps a lot.
Edit: I was able to return to the page with the data filled using onclick="location.href = 'javascript:window.history.go(-2)'"
, which is equivalent to pressing the back button twice. I hope that it will be possible to pass the id.
In fact the search for new exams could be done through a modal window where you would search the exam itself and this would be added to the form (or not if the modal window were facade).
– Giovanni Nunes
@Giovanninunes, I also thought about this approach, but already having ready the search screen was asked to go to the same page :
– Leila
Opens in another window, not fucncionaria?
– caiocafardo
Can’t be with page tabs?
– Sidon
@Sidon with page tabs creates a copy of the page?
– Leila
You put whatever you want in
tabs
in the link I put in the other comment you can "play" a little with the tabs, do this and you will understand– Sidon