Odd. I must have left this as an exercise for the reader (that's my excuse) - either that or (far more likely) I hacked the example at some point in ancient history (before I checked it in) and removed the ?callback argument to hiCreateAppForm. No idea why it's not there.
Anyway, all you need to do is add:
into the arguments of hiCreateAppForm() in the function oferCreateForm.
To test it, either quit out of virtuoso and restart, or type:
before calling oferExample() again (make sure the form is not displayed before doing this).
In reply to Andrew Beckett:
Thank you very much for the reply sir,
I will test it on monday, because I have no work tomorrow.
I am excited to test it.