Hey Praharsh thanks for the swift reply, that works, but it wasn't immediately obvious sadly.
Two other related questions, which I'm also struggling with.
1. If there were two different SweetAlert:Input Data prompts.
How do you differentiate their input data
PKP_SweetAlert.inPutFromPrompt in the field will always return the last input.
I tried PKP_SweetAlert(0).inPutFromPrompt
but that made no difference.
any ideas or is this not possible.
2. is there a way of knowing the data has been input, some sort of callback when the user submits data, so I don't constantly have to be monitoring it?