Multiple Editor Instances
Multiple Editor Instances
th3t1ck
Posts: 228Questions: 37Answers: 1
I have three buttons and depending on which one is clicked a different editor form is presented. The three buttons are a Database Schedule, a Database backup which occurs immediately and a Database Restore from backup. Do I need to create three different editor instances? What would that look like?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Yes it sounds like three different Editor instances would be suitable in this case:
Allan
Excellent! Thank you Allan for the examples.
So below is my code for three editor instances and custom buttons on the forms...
I still have more work to do. The field names are just place holders. I thought this might help someone else though.
Thanks very much for posting that - looks great!
You probably don't need to break it up into three different document ready functions, but equally it won't do any harm.
Allan
I followed your suggestion and I now have the three under one "(document).ready(function()".