We always do both. During pandemic you had to do the online version to get your travel authorization. More times than not they couldn’t pull up the electronic version and asked for the written one. On a recent trip everyone had to fill out the paper form. If you didn’t have one you had to fill one out before entering the immigration hall. Besides it chews up time on the plane ride!