Hi Rosrobby,
Since you accidentally forgot the passcode to your iPad, we recommend that you try the steps here: If you forgot your iPad passcode - Apple Support
To perform the steps in the article we suggested above, click and open the link, read the subheadings below, and try each step.
Step 1: Make sure that you have a computer (Mac or PC)
Step 2: Turn off your iPad
Step 3: Put your iPad in recovery mode
Step 4: Restore your iPad
We recommend the steps above because they will show you what to do if you forgot the passcode on your iPad. These steps will also show you how to get your iPad into recovery mode so you can erase it and set it up again.
Please let us know the outcome after giving the above steps a try.
Thanks for using the Apple Support Communities.
Cheers!