Create and Create Another Help

Is it possible to retain some field when clicking on create and create another for the new record from the ones that we just saved?
6 Replies
tinkypinky
tinkypinky11mo ago
Can someone please help. I know it will be fairly simple but I am a beginner.
toeknee
toeknee11mo ago
This is in the docs IF you need more information, then please provide exactly what you are trying to achieve
tinkypinky
tinkypinky11mo ago
@toeknee I just want to retain value of 1 Text Input Field so that when I click on create and create another, the whole form gets refreshed (empty) but that field retains its value.
toeknee
toeknee11mo ago
Ahh onto create another, just put it into the session, or override the create another function and redirect with it as a param
tinkypinky
tinkypinky11mo ago
Oh Okay Will try that. I have successfully flashed the input to session and retrieved it again and it is showing. Is there a way we can check what the current action is? Like create or createAnother?
toeknee
toeknee11mo ago
No, create another is just create you can check between edit and create with $context