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
tinkypinkyOP15mo ago
Can someone please help. I know it will be fairly simple but I am a beginner.
toeknee
toeknee15mo ago
This is in the docs IF you need more information, then please provide exactly what you are trying to achieve
tinkypinky
tinkypinkyOP15mo 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
toeknee15mo 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
tinkypinkyOP15mo 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
toeknee15mo ago
No, create another is just create you can check between edit and create with $context
Want results from more Discord servers?
Add your server