Multi-page form not working. '...not a valid selector'

When using Site code, you will get an invalid selector error on every page that the element is missing. Why not use it on the Page code as you say it works there.

You have two onReady() functions which is incorrect and can create inconsistent results.