Yes, straight into source code view. Actually, I just managed to make it work using the page viewer web part instead of the content editor web part. Looks good. Now we have to test it to see if it's still sending data to the database...
It does seem strange, though, that one can't build an asp/javascript form in SharePoint.